ibm-js / dpointer

AMD based API which follows W3C Pointer Events specification and adds click/dbl click normalization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use maxTouchPoints instead of navigator.pointerEnabled

seb-pereira opened this issue · comments

Actually, support for Pointer Events should be detected using "onpointerdown" in document.

maxTouchPoints is not accurate because it can be defined while events are not supported, this is the case with Chrome 35+ which supports the touch-action CSS property and defines maxTouchPoints but doesn't emit pointer events.