辅助功能Tooltip与调整箭头同时使用只生效一个
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
根据官方文档,Tooltip和调整箭头两个功能都能单独实现,但是同时使用的时候貌似出现了冲突
### 重现链接
https://codesandbox.io/p/sandbox/dcx75k
### 重现步骤
1.鼠标悬停在边上,可以看到显示了调整箭头但是没有显示Tooltip
2.注释重现链接最下面的两个事件监听,此时Tooltip可以正常显示
### 预期行为
鼠标悬停同时显示Tooltip和箭头,移动箭头可以修改连接桩
### 平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox ...]
- X6 版本: [2.11.1 ...]
### 屏幕截图或视频(可选)
_No response_
### 补充说明(可选)
_No response_
Contributor guide
Research direction
Start with the linked CodeSandbox reproduction and compare the behavior with the two event listeners commented out at the bottom. Trace how Tooltip and the adjustment arrow respond to pointer events; done means both appear on hover and moving the arrow still modifies the connection point without disabling the Tooltip.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100