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

Fix: only install gestureRecog if gesture enabled #143

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

apptekstudios
Copy link

Even if shouldDismissOnTap was set to false, the gesture was installed and prevented touch events being called correctly in a custom view.

These changes prevent unnecessary gesture installation and also fix touch events in custom views.

Should fix issues #98 , #140. I saw a previous pull request #121 had attempted to solve this but seems to have been lost in changes since.

Even if shouldDismissOnTap was set to false, the gesture was installed and prevented touch events being called correctly in a custom view. These changes prevent unnecessary gesture installation and also fix touch events in custom views.
@andreamazz andreamazz merged commit 0153369 into andreamazz:master Dec 19, 2017
@andreamazz
Copy link
Owner

Yep, looks like another merge reverted some changes.
Thank you!

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