You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this reason it is strongly advised against testing touch support. Even when no touchscreen is connected, devices sometimes do support optional touchscreens and browser tests return true.
I wrote a small plugin that does not test browser support, but keeps track of event cycles. This way we can ask the plugin on mouse events like click and mouseleave if the event was fired by touch or mouse. See for more information http://stackoverflow.com/a/26145343/328272
Hi guys,
I just came across this bug where the select doesn't work in the touch screen PC, using mouse.
I was debugging the code and found out:
select.js line:1378
touchDevice = 'ontouchstart' in document.documentElement;
clickEvent = touchDevice ? 'touchstart' : 'click';
If its touch screen, it registers clickEvent with "touchstart", and ignores the mouse click event.
Cheers
The text was updated successfully, but these errors were encountered: