wieringen / tinycolorpicker

A lightweight cross browser color picker.
http://baijs.com/tinycolorpicker/
Other
186 stars 46 forks source link

TinyColorPicker incorrectly assumes a touch device under Chrome #6

Open davidbairdala opened 9 years ago

davidbairdala commented 9 years ago

When using TinyColorPicker in Chrome on a machine with at least one touch screen the color picker does not respond to mouse down events. For example, on a laptop with a touch screen installed, but with an external monitor also attached, you cannot use the mouse events to trigger the color picker because Chrome has assumed a touch device, even if the browser window is on the non-touch display.

Would it be possible to support both events ('ontouchstart' and 'onmousedown') simultaneously?

We reproduced this problem on two different Windows 8.1 machines with Chrome, but works fine on non-touch machines. It also works fine in Firefox and IE on the touch devices, so the problem is constrained to Chrome.

leojh commented 9 years ago

+1

Nwardezir commented 9 years ago

Confirmed, lost some precious time discovering it :(

ryanvanderpol commented 9 years ago

+1

romanxts commented 8 years ago

+1