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 is not working #5

Open
antonyscerri opened this issue Nov 25, 2013 · 6 comments
Open

Double click is not working #5

antonyscerri opened this issue Nov 25, 2013 · 6 comments

Comments

@antonyscerri
Copy link

It seems at least in Chrome on Windows, by default when touch is enabled it is overriding the double click event. Looking at the source it appears when touch is enabled it replaces the set event with double tap. From the documentation I would think that supporting touch wouldn't necessarily prevent normal mouse support either, which appears to be the current behavior.

@victorjonsson
Copy link
Owner

It only does that if the browser supports touch, this should only be a problem if the user has Windows RT.

@antonyscerri
Copy link
Author

It appears because I have a touch enabled machine of sort (LeapMotion device, which can simulate touchscreen events), that’s probably causing:

"ontouchend" in window

To return true.

Still I think you should be able to allow both mouse clicks and touch events to coexist.

For now I have set touch to false to get around the problem. I was wondering why some of the demos didn’t appear to be working, other do so I’m assuming they have switched off touch support as well.

@chriskeeble
Copy link

The demo is not working 'out-of-the-box' in latest Chrome. Double clicking on the example paragraph does not work (even on the text where the mouse cursor changes to a pointer) :-(

@victorjonsson
Copy link
Owner

Strange, it works fine for me on mac with version 33.0.1750.152

@chriskeeble
Copy link

It works in Firefox, but not in Chrome (Version 33.0.1750.154 m) - double clicking in Chrome highlights the word.

Running Windows 7 64-bit.

@jacekbarecki
Copy link

On my computer running on Windows 7 64-bit it doesn't work either in Chrome (version 36.0.1985.125 m).

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

4 participants