File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
packages/react-native-gesture-handler/src/web Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -409,11 +409,7 @@ export default abstract class GestureHandler implements IGestureHandler {
409
409
}
410
410
if ( this . state === State . ACTIVE ) {
411
411
resultEvent . nativeEvent . oldState = undefined ;
412
- if (
413
- onGestureHandlerAnimatedEvent &&
414
- ( this . actionType === ActionType . NATIVE_ANIMATED_EVENT ||
415
- this . forAnimated )
416
- ) {
412
+ if ( onGestureHandlerAnimatedEvent && this . forAnimated ) {
417
413
invokeNullableMethod ( onGestureHandlerAnimatedEvent , resultEvent ) ;
418
414
}
419
415
invokeNullableMethod ( onGestureHandlerEvent , resultEvent ) ;
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export class GestureHandlerWebDelegate
74
74
this . eventManagers . forEach ( ( manager ) => {
75
75
manager . unregisterListeners ( ) ;
76
76
} ) ;
77
+ this . removeContextMenuListeners ( this . gestureHandler . config ) ;
77
78
this . eventManagers = [ ] ;
78
79
}
79
80
You can’t perform that action at this time.
0 commit comments