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

tap: event.double is always false #419

Closed
jamesdixon opened this issue Sep 6, 2016 · 1 comment
Closed

tap: event.double is always false #419

jamesdixon opened this issue Sep 6, 2016 · 1 comment

Comments

@jamesdixon
Copy link

jamesdixon commented Sep 6, 2016

I'm trying to allow both the tap and doubletap events to occur, but unfortunately, it seems that event.double is always false. I've tried this on the latest version of Safari, Chrome and FF on Mac, with no luck.

    interactable.on('tap', (event) => {
      if (event.double) { return; }
      Ember.run(this, this._tap, event);
    });

Ref: #155

Anyone else have this issue?

Thanks!

@taye
Copy link
Owner

taye commented Nov 28, 2016

Does the target of the event changing between each tap? If so that prevents the second tap from being counted as a double tap.

@taye taye closed this as completed Mar 15, 2017
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