jonkykong / SideMenu

Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
MIT License
5.66k stars 694 forks source link

Swipe gesture for deleting a UITableViewCell does not work when Side Menu exists #657

Closed lane-faison closed 4 years ago

lane-faison commented 4 years ago

I have read the guidelines for contributing and I understand

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Create a UIViewController with a left Side Menu
  2. Add a UITableView to the VC
  3. Implement the func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) method on the tableView
  4. See that swiping right-to-left on the cells do not trigger the cell editing feature

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

jonkykong commented 4 years ago

This is not a bug in SideMenu; this is behavior defined by gestures. Your options are to:

  1. Disable gesture swiping to reveal SideMenu
  2. Configure your preferred gestures to require failure of other gestures for the desired behavior.