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 aUITableView
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:
- Create a
UIViewController
with a left Side Menu - Add a
UITableView
to the VC - Implement the
func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath)
method on the tableView - 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:
- Disable gesture swiping to reveal SideMenu
- Configure your preferred gestures to require failure of other gestures for the desired behavior.