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 allowTapToDismiss to PanModalPresentable #58

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Add allowTapToDismiss to PanModalPresentable #58

merged 1 commit into from
Oct 9, 2019

Conversation

scottybobandy
Copy link
Contributor

Summary

The goal of this PR is to add an additional point of configurability to the PanModalPresentable protocol. The allowTapToDismiss function will determine whether or not the presentable is dismissed when the dimmed background view is tapped.

Similar to allowDragToDismiss, this functionality can prevent the user from dismissing the presentable with an accidental tap. This is particularly important when they have unfinished work, or are in the middle of an important workflow.

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.

  • I've read and agree to the Code of Conduct.

  • I've written added assertions to existing tests to cover the new code and functionality included in this PR.

@CLAassistant
Copy link

CLAassistant commented Oct 7, 2019

CLA assistant check
All committers have signed the CLA.

@TosinAF TosinAF merged commit 5c1d8c4 into slackhq:master Oct 9, 2019
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

4 participants