node 和 edge 同时存在 tooltip 时,第一个 tooltip 移入浮窗内容时不会保持
Open
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
Graphin tooltip 组件,node 和 edge 同时存在 tooltip 时,第一个 tooltip 移入浮窗内容时不会保持
❓文件:`packages/graphin/src/components/Tooltip/index.tsx` 53行 `const container = React.createRef();` 为什么没有放到 Tooltip 函数组件内
### Your Example Website or App
无
### Steps to Reproduce the Bug or Issue
配置两个Tooltip分别绑定 node 和 edge
### Expected behavior
两个Tooltip浮窗内容移入时都会保持住
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.