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

[Bug]: #6725

Open
2 of 10 tasks
sunzlit opened this issue Jan 13, 2025 · 1 comment
Open
2 of 10 tasks

[Bug]: #6725

sunzlit opened this issue Jan 13, 2025 · 1 comment
Labels
status: waiting for maintainer These issues have not yet been reviewed by a maintainer

Comments

@sunzlit
Copy link

sunzlit commented Jan 13, 2025

Describe the bug / 问题描述

当同时设置了'drag-canvas'和'collapse-expand'时,先收起节点,然后多次拖动位置后就无法再次展开节点了。官网案例中也是如此。如何同时又设置了{ type: 'click-select' },出现无法展开的概率会更大。
当前版本:"@antv/g6": "^5.0.42", "vue": "^3.3.4"

Reproduction link / 复现链接

https://g6.antv.antgroup.com/examples/layout/compact-box/#basic

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

1.点击收起节点
2.多次拖动收起的节点位置
3.再次点击节点展开
4.重复此操作

G6 Version / G6 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他
@sunzlit sunzlit added the status: waiting for maintainer These issues have not yet been reviewed by a maintainer label Jan 13, 2025
Copy link

目前在 GitHub 上没有找到与您描述的完全相同的问题报告。这个问题可能是一个新的问题。

为了更好地解决这个问题,您可以尝试以下步骤:

  1. 确保您使用的是最新版本的 G6。
  2. 检查您的代码中是否有任何自定义的事件处理逻辑,可能会影响节点的展开和拖动功能。
  3. 尝试在一个简单的示例中重现问题,以便更容易定位问题的根源。

如果问题仍然存在,您可以考虑在 GitHub 上创建一个新的问题报告,并附上详细的重现步骤和代码示例,以便开发团队能够更快地进行调查和修复。

如果您需要进一步的帮助,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for maintainer These issues have not yet been reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant