mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
perf(menu): using passive events in menu
This commit is contained in:
@ -22,6 +22,7 @@ export class MenuContentGesture extends SlideEdgeGesture {
|
||||
threshold: 0,
|
||||
maxEdgeStart: menu.maxEdgeStart || 50,
|
||||
zone: false,
|
||||
passive: true,
|
||||
debouncer: new NativeRafDebouncer(),
|
||||
gesture: gestureCtrl.createGesture({
|
||||
name: GESTURE_MENU_SWIPE,
|
||||
|
Reference in New Issue
Block a user