Skip to content

【V5】tooltip 移出节点后未隐藏 #5995

@MusicTen

Description

@MusicTen

Describe the bug / 问题描述

存在 combo 时,设置 enable 判断 node 时启用 tooltip。鼠标移入能展示,移出时未主动隐藏。

Reproduction link / 重现链接

https://stackblitz.com/edit/react-djypq8?file=index.js

Steps to Reproduce the Bug or Issue / 重现步骤

1.data

设置 combos 数据

2.plugins

判断节点启用 tooltip,enable: (event) => event.targetType === 'node'

3.复现问题

鼠标移入展示 tooltip,移出时未主动隐藏

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

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