Skip to content
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

How to disable menu open pan gestures for other views except one view #191

Open
muga87 opened this issue Oct 1, 2018 · 3 comments
Open

Comments

@muga87
Copy link

muga87 commented Oct 1, 2018

I want menu button only in home page. I don't want open menu button in other controllers

@hardikdarji
Copy link

hardikdarji commented Sep 4, 2019

Have the same issue.
Any solution?

@JayeshMardiya
Copy link

Also have same issue

@jaseerrr
Copy link

jaseerrr commented Nov 5, 2019

sideMenuController()?.sideMenu?.allowPanGesture = false
The above statement will disable the pan gestures. So in any view controller, if you want to disable the pan gesture, use, it.

NB: Set it true for those view controllers which needs pan gestures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants