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

eventsjs dbltap event fires on single tap #17

Open
dhara-02 opened this issue Jul 21, 2015 · 1 comment
Open

eventsjs dbltap event fires on single tap #17

dhara-02 opened this issue Jul 21, 2015 · 1 comment

Comments

@dhara-02
Copy link

The event should get fired only when there is double click or double tap. But when we do single tap the event is getting fired. Tested on chrome browser both in mobile and touch supported desktop. This happens when we do touch , mouse functionality is working ok.

$(function() {
eventjs.add(someElement, "dbltap" , doubleTapEvent , false);
});

function doubleTapEvent(event, self){
console.log("doubleTappped"); //This gets logged in single tap also
}

@mardon86
Copy link

mardon86 commented Dec 1, 2015

Thats happening in my code too

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