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

【V5】combo-combined 布局时,数据只存在一个 combo 时,outerLayout 布局报错 #6104

Open
MusicTen opened this issue Aug 1, 2024 · 4 comments
Labels
layout Issue about layout v5

Comments

@MusicTen
Copy link
Contributor

MusicTen commented Aug 1, 2024

Describe the bug / 问题描述

image

Reproduction link / 重现链接

https://stackblitz.com/edit/react-up1htr?file=index.js

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

  1. 使用 combo-combined 布局
  2. nodes 都只在一个 combo 中
  3. outerLayout 外层布局报错

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome, Edge

Additional context / 补充说明

outerPositions 获取外层 node 位置信息兼容问题

@Aarebecca
Copy link
Contributor

给定复现示例并没有相关错误信息呢

@MusicTen
Copy link
Contributor Author

MusicTen commented Aug 2, 2024

给定复现示例并没有相关错误信息呢

image

@seifenk
Copy link

seifenk commented Sep 24, 2024

给出详细的示例并没有相关错误信息呢

只有一个node和combo时会报错也有遇到

@seifenk
Copy link

seifenk commented Oct 21, 2024

其实可以判断如何只有一个combo时setLayout使用普通布局就可以解决

@yvonneyx yvonneyx added v5 layout Issue about layout labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
layout Issue about layout v5
Projects
None yet
Development

No branches or pull requests

4 participants