Event.js icon indicating copy to clipboard operation
Event.js copied to clipboard

eventsjs flags for different events(mouse/touch/pointer) return wrong data on IE11

Open dhara-02 opened this issue 10 years ago • 2 comments

These are the flags used by eventjs to detect mouse, touch, pointer events respectively eventjs.isMouse eventjs.isTouch eventjs.isMSPointer

These flags are set wrong when we work on IE11 : It always sets eventjs.isMouse = true, even if event type is pointerEvent and when we have touched the target element , it should be eventjs.isMSPointer = true

dhara-02 avatar Jul 21 '15 03:07 dhara-02

/cc @bterlson @dstorey @jonathansampson

kangax avatar Jul 21 '15 14:07 kangax

Probably should remove the MS part of isPointer as other browsers are supporting (unprefixed) Pointer Events. IE11 and Edge are unprefixed too.

dstorey avatar Jul 21 '15 21:07 dstorey