We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23403fa commit b7c461dCopy full SHA for b7c461d
2 files changed
packages/react-native-gesture-handler/src/v3/components/GestureButtons.tsx
@@ -80,7 +80,6 @@ export const BaseButton = (props: BaseButtonProps) => {
80
<RawButton
81
style={[style, Platform.OS === 'ios' && { cursor: undefined }]}
82
{...rest}
83
- disableReanimated={true}
84
onBegin={onBegin}
85
onStart={onStart}
86
onEnd={onEnd}
packages/react-native-gesture-handler/src/v3/createNativeWrapper.tsx
@@ -43,6 +43,10 @@ export default function createNativeWrapper<P>(
43
}
44
);
45
46
+ if (gestureHandlerProps.disableReanimated === undefined) {
47
+ gestureHandlerProps.disableReanimated = true;
48
+ }
49
+
50
const native = useNativeGesture(gestureHandlerProps);
51
52
const componentRef = useRef<React.ComponentType<P>>(null);
0 commit comments