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

Fixed an issue of content taps being cancelled by the drawer tap recognisers. #57

Merged
merged 3 commits into from
Apr 6, 2018

Conversation

andersio
Copy link
Contributor

@andersio andersio commented Apr 5, 2018

The two tap recognisers installed by DrawerKit, if enabled, would cancel the delivery of touch events to the content view by default. This causes problems with at least UITableView, whose selection mechanism relies on these events.

This branch also enables controls within the drawer content to be interactive, even if the drawer is not fully expanded.

@andersio andersio self-assigned this Apr 5, 2018
@andersio andersio force-pushed the anders/tap-interference-fix branch 2 times, most recently from 0da91e5 to f276167 Compare April 5, 2018 18:51
@andersio andersio force-pushed the anders/tap-interference-fix branch 3 times, most recently from 3bfff69 to b411be3 Compare April 5, 2018 19:11
@andersio andersio force-pushed the anders/tap-interference-fix branch 2 times, most recently from bda2f00 to bffcdcb Compare April 6, 2018 09:08
wltrup
wltrup previously approved these changes Apr 6, 2018
Copy link
Contributor

@wltrup wltrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a nit

return false
} else {
return true
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return (subview is UIControl).isFalse ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no isFalse in DK IIRC.

@diegopetrucci diegopetrucci merged commit b3f0f95 into master Apr 6, 2018
@diegopetrucci diegopetrucci deleted the anders/tap-interference-fix branch April 6, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants