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

double click on Apple (touch hover) #9

Open
Gade95 opened this issue Mar 4, 2016 · 1 comment
Open

double click on Apple (touch hover) #9

Gade95 opened this issue Mar 4, 2016 · 1 comment

Comments

@Gade95
Copy link

Gade95 commented Mar 4, 2016

hi,
I solved the problem of double click on Apple (touch hover) by adding these events.
live('autocomplete-suggestion', 'touchstart', function(e){ is_scrolling = false; }, that.sc); live('autocomplete-suggestion', 'touchmove', function(e){ is_scrolling = true; }, that.sc); live('autocomplete-suggestion', 'touchend', function(e){ if(!is_scrolling){ var v = this.getAttribute('data-val'); that.value = v; o.onSelect(e, v, this); } }, that.sc);

@giacomomacri
Copy link

HI,
I've made a pull request, perhaps it will help you too, take a look at #10

Bye

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