Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ export const PropsToFilter = new Set<
'shouldUseReanimatedDetector',
'useAnimated',
'runOnJS',

// Pan offset props before remapping:
'activeOffsetY',
'failOffsetX',
'failOffsetY',
'activeOffsetX',
Comment on lines +81 to +86
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or deleting these keys in transformOffsetProp even when the value is undefined

This is what I said in note in the description of the PR. I'm not sure if we want to do this, but it is an option (cc @j-piasecki)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does passing undefined currently reset the value to the default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you pass undefined it is treated as if it wasn't passed at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or do you mean alternating between some value and undefined?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or do you mean alternating between some value and undefined?

Yes

]);

export const PropsWhiteLists = new Map<
Expand Down
Loading