Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

[Improve] Allow swiping to top of scrollview without dismissing #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgray88
Copy link

@mgray88 mgray88 commented Feb 11, 2020

Swiping to the top of the scrollview, and continuing to pan, automatically begins to dismiss the view controller. If the user swipes at velocity, particularly if the scrolling area is small, the velocity pan will continue towards panning the view controller and potentially dismiss it undesirably.
This prevents that and allows a little vertical bounce, unless the scrollview is already at the top

Swiping to the top of the scrollview, and continuing to pan, automatically begins to dismiss the view controller. If the user swipes at velocity, particularly if the scrolling area is small, the velocity pan will continue towards panning the view controller and potentially dismiss it undesirably.
This prevents that and allows a little vertical bounce, unless the scrollview is already at the top
@mgray88 mgray88 requested a review from benguild February 11, 2020 13:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant