Skip to content

🐛[BUG]动态修改annotation,重绘显示卡顿明显 #2837

Open
@ace-han

Description

@ace-han

🐛 bug 描述 [详细地描述 bug,让大家都能理解]

动态加一个annotation, 显示非常卡顿,约5sec

📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]

https://codesandbox.io/p/sandbox/3hnvx9
当点击选中时间后,红色竖线约5sec 后才显示到对应的位置
70b947faf65d2ec175ead6607916e469

🏞 期望结果 [描述你原本期望看到的结果]

显示不卡顿

💻 复现代码 [提供可复现的代码,仓库,或线上示例]

https://codesandbox.io/p/sandbox/3hnvx9

© 版本信息

  • ant-design-charts 版本
    @ant-design/charts 2.2.6
  • 浏览器环境
    Chrome Version 131.0.6778.265 (Official Build) (arm64)
  • 开发环境
    mac OS M1 Version 15.2 (24C101)

🚑 其他信息 [如截图等其他信息可以贴在这里]

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