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

[5.0.26] FixElementSize behavior errors when getting elements in the collapsed combo #6416

Closed
hongwei0417 opened this issue Oct 17, 2024 · 1 comment · Fixed by #6417
Closed

Comments

@hongwei0417
Copy link

hongwei0417 commented Oct 17, 2024

Describe the bug / 问题描述

Using fix-element-size behavior, then collapse the group which has "fixed" element, it will get the error below
image

And I found it will get each element from the ElementController in the fixNodeLike()
When the group is collapsed, even though the nodeId is correct, but it still return undefined, see the code below
https://github.com/antvis/G6/blob/0ab5f8d1a3c14cd9037841f766b687d5c0bf3217/packages/g6/src/behaviors/fix-element-size.ts#L218C25-L218C35

Reproduction link / 重现链接

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome, Edge

Additional context / 补充说明

No response

@hongwei0417
Copy link
Author

hongwei0417 commented Oct 23, 2024

@yvonneyx The issue is still exist.
image

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

Successfully merging a pull request may close this issue.

1 participant