antvis/G6



The issue has been closed
鼠标移入select组件,drag-canvas失效 #5296
fortunatemouse posted onGitHub
G6 Version
4.x
Describe the bug
canvas:dragstart事件会触发两次:MouseEvent和GraphEvent。
但是触发了一个类似antd select组件的hover,dragstart事件只会触发一次:MouseEvent。
想请教一下什么情况下会导致dragstart只触发一次,我看有没有方法处理一下。
btw,drag-canvas失效但是scroll-canvas正常
Your Example Website or App
no
Steps to Reproduce the Bug or Issue
鼠标移入select,drag失效
Expected behavior
drag-canvas正常使用
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response