Skip to content

Commit f774a2a

Browse files
committed
Add pan offset props to PropsToFilter
1 parent 3918d8a commit f774a2a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/react-native-gesture-handler/src/v3/hooks/utils/propsWhiteList.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ export const PropsToFilter = new Set<
7878
'shouldUseReanimatedDetector',
7979
'useAnimated',
8080
'runOnJS',
81+
82+
// Pan offset props before remapping:
83+
'activeOffsetY',
84+
'failOffsetX',
85+
'failOffsetY',
86+
'activeOffsetX',
8187
]);
8288

8389
export const PropsWhiteLists = new Map<

0 commit comments

Comments
 (0)