antvis/G6

使用g6-extension-react的reactNode,在自定义的div上加click事件,获取数据渲染,然后更新数据再渲染点击事件就会失效 #6121

kqswzhyb posted onGitHub

Describe the bug / 问题描述

使用g6-extension-react的reactNode,在自定义的div上加click事件,获取数据渲染,然后更新数据再渲染点击事件就会失效

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Edge

Additional context / 补充说明

No response


你好,请参考 https://github.com/antvis/G6/issues/6192 事件监听建议通过 onClick 绑定

posted by Aarebecca 8 months ago

Fund this Issue

$0.00
Funded

Pull requests