-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
具体描述下复现路径 |
https://g6-next.antv.antgroup.com/zh/examples/layout/mindmap/#right-side 就这个链接,单双击都没有反应 |
默认触发方式是双击节点,我这边是ok的,你再试下? |
不行,换浏览器也没用,想了解下大概会跟啥有关呢 |
默认的双击,官网的案例可以触发,但是会比较难触发。不过我将触发方式修改为click之后效果就很顺滑 |
怎么改呀,有例子么 |
你把trigger修改为click就行了 |
交互相关配置项可以参考 https://g6-next.antv.antgroup.com/api/behaviors/collapse-expand |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: