Open JurajB opened 8 years ago
Do you want to disable the pan gesture?
I want to keep pan gesture but i want to disable any movement in menu when it is "panning" away. I dont know how to do it without making scrolling inside menu miserable.
Do you mean this? SlideMenuOptions.simultaneousGestureRecognizers = false
Have you also tried to keep a specific position in tableview when closing and reopening left menu?
if sender.state == UIGestureRecognizerState.Began { slideMenuController()?.removeLeftGestures() slideMenuController()?.removeRightGestures() print("You Start pan")
}
if sender.state == UIGestureRecognizerState.Ended {
slideMenuController()?.addLeftGestures()
slideMenuController()?.addRightGestures()
print("You end pan")
}
give your table view ui pan gesture, and the code from above do the trick.
@LayChannara Thanks for help. SlideMenuOptions.simultaneousGestureRecognizers = false. Its working for me to disable multiple scrolling while scroll the tableview
Hi is it possible to disable scrolling of table view in left menu when i am closing it with pan gesture? Because when i have table view inside left menu it looks funny when i scroll left and up slightly.
Cheers