Open cherrol opened 6 months ago
2.4.2
https://codepen.io/cherrol/pen/OJGVOmw
点击 a 标签时,派发的事件 event.button 都是 0 ,无法区分是左键点击还是右键点击
左键点击的 event.button 为 0,右键点击的 event.button 为 1。
左键和右键点击的 event.button 都为 0
在滚动区域有链接需要跳转,无法区分左键还是右键时,右键也会直接跳转,不符合操作习惯。
借楼提问 在移动端app,启用 click: true可以正常点击;使用M1芯片的mac电脑运行iOS app,better-scroll范围点击无效。是无法兼容吗?
Version
2.4.2
Reproduction link
https://codepen.io/cherrol/pen/OJGVOmw
Steps to reproduce
点击 a 标签时,派发的事件 event.button 都是 0 ,无法区分是左键点击还是右键点击
What is expected?
左键点击的 event.button 为 0,右键点击的 event.button 为 1。
What is actually happening?
左键和右键点击的 event.button 都为 0
在滚动区域有链接需要跳转,无法区分左键还是右键时,右键也会直接跳转,不符合操作习惯。