You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'VirtualGestureDetector cannot handle Animated events with native driver when used inside InterceptingGestureDetector. Use Reanimated or Animated events without native driver instead.'
51
53
);
52
54
});
55
+
53
56
test('intercepting detector cant handle multiple types of events',()=>{
'InterceptingGestureDetector can only handle either Reanimated or Animated events.'
72
77
);
@@ -87,6 +92,7 @@ describe('Check if descendant of root view', () => {
87
92
'GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized. See https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/installation for more details.'
88
93
);
89
94
});
95
+
90
96
test('intercepting detector',()=>{
91
97
functionGestureDetectorNoRootView(){
92
98
consttap=useTapGesture({});
@@ -96,10 +102,12 @@ describe('Check if descendant of root view', () => {
'GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized. See https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/installation for more details.'
101
108
);
102
109
});
110
+
103
111
test('legacy detector',()=>{
104
112
functionGestureDetectorNoRootView(){
105
113
consttap=Gesture.Tap();
@@ -109,6 +117,7 @@ describe('Check if descendant of root view', () => {
'GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized. See https://docs.swmansion.com/react-native-gesture-handler/docs/fundamentals/installation for more details.'
0 commit comments