antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Combo is not updated after translate element in combo #6522

Rey-Wang posted onGitHub

Describe the bug / 问题描述

用 translate api移动 combo 内的节点后,combo 没有更新

https://codesandbox.io/s/zdr33j

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


调用 render 会重新执行layout,重新 fitview,有什么接口可以只刷新数据吗?类似 drag element 实现中的 refresh

posted by Rey-Wang 5 months ago

@Rey-Wang 看起来可能是个 Bug,我这边会修复下

posted by Aarebecca 5 months ago

目前可以通过 updateComboData 来解决

posted by Rey-Wang 5 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests