antvis/G6


The issue has been closed
quadratic 连线过长时,靠近节点附近的部分 不能触发 edge:mouseenter #4378
Sunxinqiang posted onGitHub
问题描述
quadratic 连线过长时,靠近节点附近的部分 不能触发 edge:mouseenter line类型的 就没有这个问题
重现链接
https://codesandbox.io/s/mutable-sea-e3hq27?file=/index.js
重现步骤
重现连接里,两条线,一条是quadratic,一条是line, edge:mouseenter的时候会添加高亮样式, 连线靠近节点的部分,line能触发mouseenter,quadratic不能
预期行为
期望quadratic类型的连线过长时,靠近节点附近的部分也能正常触发mouseenter事件
平台
- 操作系统: [macOS]
- 网页浏览器: [Google Chrome, Safari]
- G6 版本: [4.8.8]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response