-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pan gesture recognizer interferes with UITableViewCell reorder control #2
Comments
Did you try setting Hum... I'll override the setter to change the |
Hi Nicolas, Thanks for the quick response! Not sure I understand 100% how that would address the issue, but please correct me if I'm misunderstanding :) I'll try to explain a bit more. I have This works great, and when I pan from left to right, the content controller slides over and reveals the menu, as expected. The When the table view is in edit mode, with I don't think that the menu visible or hidden affects this, when I have this problem I don't have the menu visible at all, which is why I'm not sure whether your suggestion will fix this. Does that clarify things? I can take some screenshots to show what I mean if that would help :) Awesome library by the way, I've tried most of them, and discovered yours through NSScreencast. Thanks! |
I see exactly what you mean. The And thanks for compliments ;-) |
**Deprecations** * `panEnabledWhenSlideMenuIsHidden` is deprecated.
I invite you to use the new |
Awesome, thanks! Removed my local hack :) |
Hi!
The pan gesture recognizer prevents the UITableViewCell reorder control from functioning correctly when the tableview is in editing mode, and the UITableView is contained within a controller that is a content controller.
I have successfully worked around this by adding NVSlideMenuController as a UIGestureRecognizerDelegate of the pan gesture recognizer, and in -gestureRecognizerShouldBegin:, returning NO if the content view controller is in editing mode, but this is not 100% reliable. E.g. if the content view controller is a navigation controller that wraps the actual content controller.
Another way could be to only respect horizontal pans, and somehow have the original gesture recognizer on the reorder control process vertical ones, but I did not investigate this option fully.
Leon
The text was updated successfully, but these errors were encountered: