-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] IonMenu is swipable through backdrop #55
Comments
@BerkeAras Thank you. I tried, but can't reproduce with both opened menu and drawer. |
Please try this solution (Disable/Enable gesture) on your scope <ion-menu [swipeGesture]="swipeGesture"> And controller public swipeGesture:boolean = true;
constructor() {}
ngOnInit() {
this.drawer = new CupertinoPane('.ion-drawer', {
...
onWillPresent: () => this.swipeGesture = false,
onDidDismiss: () => this.swipeGesture = true
});
this.drawer.present({animate: true});
} |
roman-rr
added a commit
that referenced
this issue
Aug 26, 2020
@BerkeAras Already able Simply set let settings = {
...
touchMoveStopPropagation: true
} To fix this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
IonMenu is swipable through the Cupertino-Pane Backdrop
To Reproduce
Just create Ionic App with Menu and open Drawer.
Expected behavior
It should not be swipable.
The text was updated successfully, but these errors were encountered: