Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node 和 edge 同时存在 tooltip 时,第一个 tooltip 移入浮窗内容时不会保持 #522

Open
marcccc opened this issue Nov 8, 2023 · 0 comments

Comments

@marcccc
Copy link

marcccc commented Nov 8, 2023

Describe the bug

Graphin tooltip 组件,node 和 edge 同时存在 tooltip 时,第一个 tooltip 移入浮窗内容时不会保持

❓文件:packages/graphin/src/components/Tooltip/index.tsx 53行 const container = React.createRef<HTMLDivElement>(); 为什么没有放到 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

@marcccc marcccc changed the title Graphin tooltip,node和edge同时存在tooltip,第一个tooltip移入浮窗内容时也不会保持 Graphin tooltip,node和edge同时存在tooltip,第一个tooltip移入浮窗内容时不会保持 Nov 9, 2023
@marcccc marcccc changed the title Graphin tooltip,node和edge同时存在tooltip,第一个tooltip移入浮窗内容时不会保持 node 和 edge 同时存在 tooltip 时,第一个 tooltip 移入浮窗内容时不会保持 Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant