wise9 / enchant.js

A simple JavaScript framework for creating games and apps
http://enchantjs.com
MIT License
1.69k stars 314 forks source link

fix the bugs which causes dispatching double touches on mobile browsers #294

Closed AaronRZH closed 8 years ago

AaronRZH commented 9 years ago

fix the bugs which causes dispatching double touches on mobile browsers

rtsan commented 9 years ago

Some devices supports both pointer events (ex. Windows 8 PC with touch panel). In such devices, enchant.js detects touch feature. If this patch will be merged, accept touch input, and mouse input are ignored. We should find other better solution to solve this problem. What is device/browser which problem occurs?

AaronRZH commented 9 years ago

On android or in Wechat's built-in browser would occurred a problem that I click once but listeners run twice.