Skip to content

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

@marcccc

Description

@marcccc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions