antvis/G6

The issue has been closed
[V4]关于自定义Behavior事件mouseup无法监听到鼠标中键抬起 #5442
x-zhao-res posted onGitHub
Describe the bug
自定义Behavior事件mouseup无法监听到鼠标中键抬起
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-dmq49d?file=src%2FApp.vue
Steps to Reproduce the Bug or Issue
1.创建一个自定义的Behavior 2.监听mousedown mousemove mouseup 3.log后发现mouseup的中键无法监听
Expected behavior
预期:在自定义Behavior的mouseup事件能监听到鼠标中键抬起 实际:无法监听到 button= 1的鼠标抬起事件,仅能监听到button = 0 的左键抬起事件
Screenshots or Videos
No response
Platform
- OS: [macOS]
- Browser: [Chrome]
- Version: [4.8.24]
Additional context
No response