antvis/G6

鼠标移入select组件,drag-canvas失效 #5296

fortunatemouse posted onGitHub

G6 Version

4.x

Describe the bug

canvas:dragstart事件会触发两次:MouseEvent和GraphEvent。 image 但是触发了一个类似antd select组件的hover,dragstart事件只会触发一次:MouseEvent。 image 想请教一下什么情况下会导致dragstart只触发一次,我看有没有方法处理一下。 btw,drag-canvas失效但是scroll-canvas正常 20231226-201627

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


Hi @fortunatemouse, Please star this repo if you find it useful! Thanks :star:! 你好 @fortunatemouse。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

hi @fortunatemouse, welcome!

posted by github-actions[bot] over 1 year ago

This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests