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.

Repository from Github https://github.comjonkykong/SideMenuRepository from Github https://github.comjonkykong/SideMenu

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

lane-faison opened this issue · comments

I have read the guidelines for contributing and I understand

  • My issue is happening in the latest version of SideMenu (older versions are no longer maintained).
  • My issue was not solved in the README.
  • My issue can not be answered on stackoverflow.com.
  • My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
  • My issue is reproducible in the demo project.

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

  • I have a UIViewController that I can swipe left-to-right to open my Side Menu. On my VC I have a UITableView with cells that should be individually editable / deletable by swiping right-to-left. The presence of the Side Menu makes it so that my cell swipe gestures are not recognized.

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.

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.