-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Swipe gesture to dismiss doesn't work reliably #44
Comments
Personal consideration: the interference between swipe to dismiss / scrollview gestures is handled automatically when a modally presented panel contains a UITableViewController subclass. Maybe using a UIViewController subclass containing a UITableView for ItemsView needs the same behavior to be coded manually with some |
Hey @francosolerio, Thanks for your bug report 🙌 It seems like that the following line of code causes the issue ( tableView.alwaysBounceVertical = false When the contentSize of the TableView doesn't exceed the size of the frame the TableView will ignore the scroll gesture and therefore it will be not passed down to the responder chain in order to allow iOS to listen to the scroll gesture. Please check out the |
Thank you @SvenTiigi, |
Hey @francosolerio, Just wanted to let you know that this bug fix is now available within the latest release 1.3.6 |
Very good, thank you Sven! |
WhatsNewKit Environment
What did you do?
Build and run WhatsNewKit-Example
Tap "Present" button
Put finger on the ItemsView and drag down
What did you expect to happen?
The WhatsNew panel should begin dismiss animation and follow the finger's movement
What happened instead?
The WhatsNew panel doesn't move at all 90% of the times. Sometimes it begins moving late after the gesture has moved a considerable amount of space. Rarely it begins immediately and follows the gesture.
The text was updated successfully, but these errors were encountered: