SlideMenuControllerSwift icon indicating copy to clipboard operation
SlideMenuControllerSwift copied to clipboard

Menu over MKMapView swipe

Open dennytwix opened this issue 7 years ago • 10 comments

When I try to swipe from the edge of the screen, to show the menu, map is scrolling too. It's not possible to use addPriorityToMenuGesuture, since it accepts only scroll view.

dennytwix avatar Aug 18 '17 14:08 dennytwix

@dennytwix How are you showing menu on the view controllers which is not pushed but instead presented? Any solution?

abhijithExperion avatar Aug 19 '17 20:08 abhijithExperion

Sorry, I am not sure that understood your question. It seems that it is not related to my issue.

dennytwix avatar Aug 19 '17 21:08 dennytwix

Not only MKMapView, also UIPageViewController has activity on pan gesture from edge :)

iDevPro avatar Oct 24 '17 07:10 iDevPro

@iDevPro yes, basically any component which has pan gesture and which is not UIScrollView. But it's easy to extract pan gesture from page controller and require it to fail :)

dennytwix avatar Oct 24 '17 07:10 dennytwix

I'm already solve it by fail gestures :)

iDevPro avatar Nov 14 '17 21:11 iDevPro

Yes. I am also facing kind of issues when I am try to open the menu from edge my map view also scrolling. How to restrict this. Can you share your solution?

ssowri1 avatar Nov 30 '18 07:11 ssowri1

@ssowri1 unfortunately we just disabled opening menu with edge gesture :(

dennytwix avatar Nov 30 '18 09:11 dennytwix

@dennytwix Thank you for your response.

Yes. I also tried to disable the edge gesture along with below codes. But still its working the same. can you please share the code to disable the edge gesture.

        SlideMenuOptions.tapGesturesEnabled = true
        SlideMenuOptions.panGesturesEnabled = false 

ssowri1 avatar Nov 30 '18 10:11 ssowri1

@ssowri1 SlideMenuOptions.simultaneousGestureRecognizers = false

dennytwix avatar Nov 30 '18 10:11 dennytwix

@dennytwix Thank you. It's working fine :-)

ssowri1 avatar Nov 30 '18 11:11 ssowri1