romaonthego / RESideMenu

iOS 7/8 style side menu with parallax effect.
MIT License
7.1k stars 1.35k forks source link

Pan Gesture Disable for Left/Right Side Menu #198

Open goelv opened 10 years ago

goelv commented 10 years ago

Hi

Note: Its not a bug, just want to know how I can achieve the following.. :)

I am using the ResideMenu in my project which has the root VC as the tab bar VC.

I am using both the left and right Side Menus, the left side menu should be visible from all my tabs, however, the right menu is only supposed to be available in one of the tabs in my app (not all of them).

Is there a way I can disable only the right side menu when I am in tab 1 & 2 but keep it available in tab 3?

If I set the property panGestureEnabled to false, then I can't pan on both left or right side menus which is undesired as I would like the user to be able to pan the left hand side menu.

Please let me know how I can tackle this issue.

Thanks, Varun

lanhaoxiang commented 9 years ago

+1