File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ export default class GestureHandlerOrchestrator {
307
307
}
308
308
309
309
if ( handler . awaiting || handler . state === State . ACTIVE ) {
310
- // For now it always returns false
311
310
return handler . shouldBeCancelledByOther ( otherHandler ) ;
312
311
}
313
312
Original file line number Diff line number Diff line change 1
1
import type IGestureHandler from '../handlers/IGestureHandler' ;
2
- import { State } from '../../State' ;
3
2
import { Config , Handler } from '../interfaces' ;
4
3
5
4
export default class InteractionManager {
@@ -108,7 +107,7 @@ export default class InteractionManager {
108
107
// We check constructor name instead of using `instanceof` in order do avoid circular dependencies
109
108
const isNativeHandler =
110
109
otherHandler . constructor . name === 'NativeViewGestureHandler' ;
111
- const isActive = otherHandler . state === State . ACTIVE ;
110
+ const isActive = otherHandler . active ;
112
111
const isButton = otherHandler . isButton ?.( ) === true ;
113
112
114
113
return isNativeHandler && isActive && ! isButton ;
You can’t perform that action at this time.
0 commit comments