antvis / antvis/G6

'click-select', 'collapse-expand'

Open
#6,497 0 comments 0 reactions 0 assignees View on GitHub
bug 🐛 v5
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

快速多次(3次)点击根节点p1,节点收缩后,再在展不开了。 出现频率50%以上。

### Reproduction link / 重现链接

https://stackblitz.com/edit/p5kmma-qorevu?file=index.js

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

找到根节点p1,鼠标快速点击3次,待p1节点收缩后,在点击p1,已经展不开了。

### G6 Version / G6 版本

🆕 5.x

### Operating System / 操作系统

Windows, Others / 其他

### Browser / 浏览器

Chrome

### Additional context / 补充说明

如果 去掉'click-select',一切正常。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked StackBlitz reproduction in index.js and reproduce the rapid three-click sequence on root node p1 with click-select enabled. Trace the collapse and expand behavior, then verify that p1 can expand again after repeated clicks and that removing click-select still behaves correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.