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

Allow drag events to pass through #62

Merged
merged 2 commits into from
Apr 18, 2018

Conversation

zyniq82
Copy link
Contributor

@zyniq82 zyniq82 commented Apr 18, 2018

This more or less re-instates the canDrag method, that was removed earlier, but now with the option to bypass the method.

Using this allows drag events to pass through this component, so that others may listen to those events (e.g. a swipe library).

This fixes #61.

This option allows the drag event to bubble through the component,
thereby allowing other components to act on it, e.g. for swiping.

This more or less re-instates the 'canDrag' method that was
removed in c9d9121, but now with the option to bypass it.
@sandstrom sandstrom merged commit 9162191 into manuelstofer:master Apr 18, 2018
@zyniq82 zyniq82 deleted the pass-through-drag branch April 18, 2018 11:49
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.

canDrag is gone, doesn't interop with swipe.js anymore
2 participants