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

dismissOnPull obeys shouldDismiss #189

Conversation

stevelandeyasana
Copy link
Contributor

@stevelandeyasana stevelandeyasana commented Dec 21, 2022

If you say vc.dismissOnPull = true and vc.shouldDismiss { _ in false }, I expect the view controller not to be dismissed when I pull down. (This logic applies to dismissOnOverlayTap already.)

This change makes that true. Before, the view controller would be hidden even if shouldDismiss returned false.

@stevelandeyasana
Copy link
Contributor Author

@gordontucker any chance you could merge this and cut a release?

@stevelandeyasana
Copy link
Contributor Author

Checking in on this again—would it be possible to get this into a new release?

@stevelandeyasana
Copy link
Contributor Author

To anyone coming across this issue: we ended up forking the project and will maintain the fork going forward. https://github.com/Asana/FittedSheets/releases/tag/v2.0.1

@AndrewSB AndrewSB merged commit 8e4a64f into gordontucker:main Sep 6, 2023
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