File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export class MenuContentGesture extends SlideEdgeGesture {
21
21
threshold : 0 ,
22
22
maxEdgeStart : menu . maxEdgeStart || 50 ,
23
23
maxAngle : 40 ,
24
+ zone : false ,
24
25
debouncer : new NativeRafDebouncer ( ) ,
25
26
gesture : gestureCtrl . create ( 'menu-swipe' , {
26
27
priority : GesturePriority . MenuSwipe ,
@@ -58,7 +59,6 @@ export class MenuContentGesture extends SlideEdgeGesture {
58
59
'z' , z ,
59
60
'stepValue' , stepValue ) ;
60
61
61
- ev . preventDefault ( ) ;
62
62
this . menu . swipeProgress ( stepValue ) ;
63
63
}
64
64
Original file line number Diff line number Diff line change @@ -450,7 +450,11 @@ export class Menu {
450
450
return ;
451
451
}
452
452
this . _getType ( ) . setProgessStep ( stepValue ) ;
453
- this . ionDrag . emit ( stepValue ) ;
453
+
454
+ let ionDrag = this . ionDrag ;
455
+ if ( ionDrag . observers . length > 0 ) {
456
+ this . _zone . run ( ionDrag . emit . bind ( ionDrag , stepValue ) ) ;
457
+ }
454
458
}
455
459
456
460
/**
You can’t perform that action at this time.
0 commit comments