jquery-editable icon indicating copy to clipboard operation
jquery-editable copied to clipboard

Double click is not working

Open antonyscerri opened this issue 11 years ago • 6 comments

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.

antonyscerri avatar Nov 25 '13 14:11 antonyscerri

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

victorjonsson avatar Nov 25 '13 14:11 victorjonsson

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.

antonyscerri avatar Nov 25 '13 14:11 antonyscerri

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) :-(

chriskeeble avatar Mar 24 '14 13:03 chriskeeble

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

victorjonsson avatar Mar 24 '14 16:03 victorjonsson

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.

chriskeeble avatar Mar 25 '14 10:03 chriskeeble

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

jacekbarecki avatar Aug 14 '14 11:08 jacekbarecki