dekatotoro / dekatotoro/SlideMenuControllerSwift
prevent slidemenu to close when wiping to close edit mode
- Dominant language
- Swift
- Stars
- 3.4k
- Forks
- 742
- PR merge metrics
- No merged PRs in 30d
Description
I have a tableview on my right slide menu and I'm using enable editing style delete on cell like this
```
func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) {
if (editingStyle == UITableViewCellEditingStyle.Delete) {
arr.removeAtIndex(indexPath.row)
tableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: UITableViewRowAnimation.Automatic)
}
}
```
It 's working fine when wipe from right to left to open the delete button. But when I wipe from left to right, it close the delete button and also close the right slide menu. Any chance that I could prevent slide menu to be closed when I close delete button on my tableview cell ?
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Reproduce the issue with a UITableView in the right slide menu: swipe to show the delete action, then swipe back to close it, and inspect the slide-menu gesture handling. Done means closing the cell's delete action does not also close the right slide menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100