cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Touch Event adaptation issues on WeChat Mini Program

Open jareguo opened this issue 3 years ago • 0 comments

In the forum, there are many touch-end related issues when running in the webview of WeChat Mini Program. It seems all of them are caused by the same problem and only raise in WeChat DevTools, not real device. Could be fixed by using

window.navigator.msPointerEnabled = true

Please verify and fix in 2.x/3.x.

See https://forum.cocos.org/t/topic/103840 https://forum.cocos.org/t/touchend/62783 https://forum.cocos.org/t/h5-web-view/71943 https://forum.cocos.org/t/cocoscreator/68553

jareguo avatar Jun 01 '22 12:06 jareguo