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 collapse-expand doesn't work #6372

Open
priesty opened this issue Sep 29, 2024 · 6 comments
Open

v5 collapse-expand doesn't work #6372

priesty opened this issue Sep 29, 2024 · 6 comments

Comments

@priesty
Copy link

priesty commented Sep 29, 2024

Describe the bug / 问题描述

官网示例https://g6-next.antv.antgroup.com/zh/examples/layout/mindmap/#right-side 属性collapse-expand不起作用,很偶尔地会触发收起,基本不起作用,4.x没问题

Reproduction link / 重现链接

https://g6-next.antv.antgroup.com/zh/examples/layout/mindmap/#right-side

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

@github-actions github-actions bot changed the title v5 collapse-expand不起作用 v5 collapse-expand doesn't work Sep 29, 2024
@Aarebecca
Copy link
Contributor

具体描述下复现路径

@priesty
Copy link
Author

priesty commented Oct 7, 2024

具体描述下复现路径

https://g6-next.antv.antgroup.com/zh/examples/layout/mindmap/#right-side 就这个链接,单双击都没有反应

@yvonneyx
Copy link
Contributor

默认触发方式是双击节点,我这边是ok的,你再试下?

@priesty
Copy link
Author

priesty commented Oct 11, 2024

默认触发方式是双击节点,我这边是ok的,你再试下?

不行,换浏览器也没用,想了解下大概会跟啥有关呢

@zhangkb
Copy link

zhangkb commented Oct 12, 2024

默认的双击,官网的案例可以触发,但是会比较难触发。不过我将触发方式修改为click之后效果就很顺滑

@priesty
Copy link
Author

priesty commented Oct 12, 2024

默认的双击,官网的案例可以触发,但是会比较难触发。不过我将触发方式修改为click之后效果就很顺滑

怎么改呀,有例子么

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

No branches or pull requests

4 participants