We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在浏览器中e.touches返回的是一个类数组对象,始终有length属性。 由于miniprogram-render中Event类进行了如下处理:
this.$_touches = null ... if (options.touches && options.touches.length) { this.$_touches = options.touches.map(touch => ({...touch, target: options.target})) this.$$checkTargetTouches() }
很明显当touches长度为0时 this.$_touches 不会被处理成一个空数组。 changedTouches、 targetTouches可能也有类似情况,希望可以做出相关修改,避免冲突。
The text was updated successfully, but these errors were encountered:
5d7f01e
已做出相关修复,可以尝试下这个包:miniprogram-render@0.5.13
Sorry, something went wrong.
No branches or pull requests
在浏览器中e.touches返回的是一个类数组对象,始终有length属性。
由于miniprogram-render中Event类进行了如下处理:
很明显当touches长度为0时 this.$_touches 不会被处理成一个空数组。
changedTouches、 targetTouches可能也有类似情况,希望可以做出相关修改,避免冲突。
The text was updated successfully, but these errors were encountered: