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

Swipe and tap both happen #29

Closed
JoshRagem opened this issue Sep 18, 2012 · 3 comments
Closed

Swipe and tap both happen #29

JoshRagem opened this issue Sep 18, 2012 · 3 comments

Comments

@JoshRagem
Copy link

if you define a swipe (like swipe right) handler and a tap handler for one element, a swipe will result in both handlers being triggered.
So if you have some sort of gallery--you would like to swipe through and then tap on one of the options to see more. At the moment, every swipe will act as a tap.

@soyjavi
Copy link
Owner

soyjavi commented Sep 19, 2012

i recommend you.. use double-tap :)

2012/9/19 JoshRagem notifications@github.com

if you define a swipe (like swipe right) handler and a tap handler for one
element, a swipe will result in both handlers being triggered.
So if you have some sort of gallery--you would like to swipe through and
then tap on one of the options to see more. At the moment, every swipe will
act as a tap.


Reply to this email directly or view it on GitHubhttps://github.com//issues/29.

@JoshRagem
Copy link
Author

That's not really an option for this project, but I'll keep it it mind for the future.

I found a workaround--if you put the tap handler on an ancestor of the element with the swipe handler, it will act appropriately on mobile browsers (not on desktop browsers though).

@soyjavi
Copy link
Owner

soyjavi commented Sep 25, 2012

QuoJS === Mobile :)

@soyjavi soyjavi closed this as completed Sep 25, 2012
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

No branches or pull requests

2 participants