@@ -28,8 +28,8 @@ import {
28
28
} from '@nativescript/core' ;
29
29
const OPEN_DURATION = 200 ;
30
30
const CLOSE_DURATION = 200 ;
31
- export const PAN_GESTURE_TAG = 12431 ;
32
- export const NATIVE_GESTURE_TAG = 12421 ;
31
+ export let PAN_GESTURE_TAG = 12400 ;
32
+ // export const NATIVE_GESTURE_TAG = 12421;
33
33
const DEFAULT_TRIGGER_WIDTH = 20 ;
34
34
const SWIPE_DISTANCE_MINIMUM = 10 ;
35
35
@@ -127,10 +127,10 @@ export class PersistentBottomSheet extends GridLayout {
127
127
translationFunction ?: ( height : number , delta : number , progress : number ) => { bottomSheet ?: AnimationDefinition ; backDrop ?: AnimationDefinition } ;
128
128
protected initGestures ( ) {
129
129
const manager = Manager . getInstance ( ) ;
130
- const options = { gestureId : PAN_GESTURE_TAG , ...this . panGestureOptions } ;
130
+ const options = { gestureId : PAN_GESTURE_TAG ++ , ...this . panGestureOptions } ;
131
131
const gestureHandler = manager . createGestureHandler ( HandlerType . PAN , options . gestureId , {
132
132
shouldStartGesture : this . shouldStartGesture . bind ( this ) ,
133
- simultaneousHandlers : [ NATIVE_GESTURE_TAG ] ,
133
+ // simultaneousHandlers: [NATIVE_GESTURE_TAG],
134
134
minDist : SWIPE_DISTANCE_MINIMUM ,
135
135
...options
136
136
} ) ;
0 commit comments