Skip to content
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

Problem with slide to edit/delete in content view #81

Open
schendzielorz opened this issue Jan 12, 2018 · 2 comments
Open

Problem with slide to edit/delete in content view #81

schendzielorz opened this issue Jan 12, 2018 · 2 comments

Comments

@schendzielorz
Copy link

There is a problem with the UITableView feature, which shows edit options for a UITableViewCell (CanEditRow(...), EditActionsForRow(...)), if the TableView is in the content view of the SidebarController.
It seems, that the GestureRecognizers are in conflict.
If you swipe a cell (menu is closed) then the options are shown very very rarely since it is very hard to trigger it in its desired way. Even if I set SidebarController.GestureActiveArea to 0, it is not helping.

It would be great, if there would be a possibility to disable the GestureRecognizer of the menu.

@drunkendaddy
Copy link

I figured out how you can disable pan GestureRecognizer of the menu

AppDelegate.Instance.RootViewController.LeftSidebarController.DisablePanGesture = false;

LeftSidebarController is an instance of SidebarController

@jkapsouras
Copy link

I had the same problem and @drunkendaddy saved my day. Thanks! One notice though:
The command SidebarController.DisablePanGesture = false will be cancelled if the command SidebarController.Disabled=true is executed. It seems that enabling the sidebar, enables also the pangesture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants