Skip to content

[Bug]: @antv/g-plugin-html-renderer 2.2.1有Bug,导致React渲染的节点,数据变化之后界面不更新 #2078

@gaohuixx

Description

@gaohuixx

我是用g6和@antv/g6-extension-react来使用react渲染节点,但是states变化之后,react重新渲染了,但是界面没有变化
通过打断点,一步步跟,发现是@antv/g-plugin-html-renderer里面的handleBoundsChanged导致的
@antv/g-plugin-html-renderer 2.1.27 没问题
@antv/g-plugin-html-renderer 2.2.1有问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions