We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee9be5e commit 1187b39Copy full SHA for 1187b39
src/components/MultiGestureCanvas/usePinchGesture.ts
@@ -106,6 +106,7 @@ const usePinchGesture = ({
106
.onTouchesDown((_evt, state) => {
107
// react-compiler optimization unintentionally make all the callbacks run on the JS thread.
108
// Adding the worklet directive here will make all the callbacks run on UI thread back.
109
+
110
'worklet';
111
112
// We don't want to activate pinch gesture when we are swiping in the pager
0 commit comments