Closed m-bert closed 4 months ago
[!IMPORTANT] This PR supersedes #2724
This PR brings NativeViewGestureHandler to macOS. With this change, our buttons should now work properly.
NativeViewGestureHandler
macOS
buttons
Closes #2697 Closes #2724
Description
This PR brings
NativeViewGestureHandler
tomacOS
. With this change, ourbuttons
should now work properly.Closes #2697 Closes #2724
Test plan
Test code
```tsx import React from 'react'; import { StyleSheet, View } from 'react-native'; import { Gesture, GestureDetector, RectButton, } from 'react-native-gesture-handler'; export default function EmptyExample() { const g = Gesture.Native() .onTouchesDown((e) => { 'worklet'; console.log(e); }) .onTouchesMove((e) => { 'worklet'; console.log(e); }) .onTouchesUp((e) => { 'worklet'; console.log(e); }); return (