mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
perf(menu): improves menu performance and fixes some edge cases
This commit is contained in:
@ -47,6 +47,11 @@ export class MenuContentGesture extends SlideEdgeGesture {
|
||||
// Set CSS, then wait one frame for it to apply before sliding starts
|
||||
onSlideBeforeStart(ev: any) {
|
||||
console.debug('menu gesture, onSlideBeforeStart', this.menu.side);
|
||||
this.menu.swipeBeforeStart();
|
||||
}
|
||||
|
||||
onSlideStart() {
|
||||
console.debug('menu gesture, onSlideStart', this.menu.side);
|
||||
this.menu.swipeStart();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user