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

Add option to only dismiss the presented view controller after the pan gesture ends #67

Closed
wants to merge 1 commit into from
Closed

Add option to only dismiss the presented view controller after the pan gesture ends #67

wants to merge 1 commit into from

Conversation

cezarcp
Copy link

@cezarcp cezarcp commented Mar 20, 2018

This preserves all the default behaviour and existing API.

The proposed new behaviour matches that of the Apple Music card – user can pan below the dismiss threshold – including using multiple fingers – and the presented view will only dismiss after finishing the gesture (i.e releasing the finger).

…n gesture ends

This preserves all the default behaviour and existing API
@HarshilShah
Copy link
Owner

Hi there, and thank you for the pull request!

So the way I see this new behaviour is that it basically makes the dismissal work like an interactive dismissal.

This has been discussed extensively in #65, so I don't want to rehash it all here, but the conclusion based on that discussion was to wait to see if Apple goes all in on the interactive transition style, and if they do, reimplement this library as a proper interactive transition.

Tacking on another option that would probably become redundant (or serve to carry on the "legacy" behaviour, if Apple does go fully interactive) is something I'd avoid, so I'm not going to be able to merge this. Hope you can understand.

@cezarcp
Copy link
Author

cezarcp commented Mar 21, 2018

No problem at all @HarshilShah. Thanks for looking into it.

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

Successfully merging this pull request may close these issues.

None yet

2 participants