Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combo is not updated after translate element in combo #6522

Open
Rey-Wang opened this issue Nov 15, 2024 · 3 comments
Open

Combo is not updated after translate element in combo #6522

Rey-Wang opened this issue Nov 15, 2024 · 3 comments
Labels

Comments

@Rey-Wang
Copy link

Describe the bug / 问题描述

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

Reproduction link / 重现链接

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

@Rey-Wang
Copy link
Author

Rey-Wang commented Nov 15, 2024

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

@Aarebecca
Copy link
Contributor

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

@Rey-Wang
Copy link
Author

目前可以通过 updateComboData 来解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants