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

Strange behavior whith UIScreenEdgePanGestureRecognizer #76

Open
paventuri opened this issue Aug 17, 2014 · 0 comments
Open

Strange behavior whith UIScreenEdgePanGestureRecognizer #76

paventuri opened this issue Aug 17, 2014 · 0 comments

Comments

@paventuri
Copy link

Hello @danielamitay

I've started using your control and I found out one strange behavior in it while testing my app.

I forked your project and changed it to show what is happening. You can get the project here: https://github.com/paventuri/DAKeyboardControl.git

This is what I have in my app.

1 - TabbarController as rootViewController.
2 - Only one tab to make it simple. This tab contains an UINavigationController.
3 - UINavigationController rootView contains only 1 button to push another View.
4 - ViewController contains an UITableView with a textViewInput in a toolbar in the bottom of the view.
5 - I added the DAKeyboardControl component to the ViewController. So, when the user touches the textView, the keyboard will open and the frame of the tableview and toolbar will change. All works perfect here. The issue happens when the user scrolls the tableview all the way to the bottom and starts panning the screen from the left edge to perform a interactivePopGestureRecognizer. As the PopGestureRecognizer is perform, the frameBasedKeyboardDidMoveBlock is called resulting in changing the frame of tableview. Looks like the tableview is scrolling automatically.

Its a little bit confuse, thats why I forked your project and added the exactly scenario.

Please, take a look and advise if there is any work around to this behavior.

Thanks.

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

1 participant