nutui-taro包里的range组件在百度小程序中的使用 #3092
lu1075096952
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
点击的时候,会报错
定位了一下可能是onclick事件中取clientX/clientY的方法有点问题,有些机型event.touches对象是个空数组,百度小程序中尝试改成取event.changedTouches[0]可以正常获取到对象中的clientX/clientY
(sry,提issue有点麻烦就来提discussion了)
Beta Was this translation helpful? Give feedback.
All reactions