antvis / antvis/G6

[Bug]: 收起节点动画过程中,拖动节点会导致展开收起功能失效,只能重新刷新

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

Description

### Describe the bug / 问题描述

收起节点动画过程中,拖动节点会导致展开收起功能失效,只能重新刷新

### Reproduction link / 复现链接

http://localhost:8080/?Demo=behaviorExpandCollapseNode&Renderer=canvas&GridLine=true&Theme=light&Animation=true

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

1、克隆项目
2、启动开发模式
3、进入节点展开收起示例
http://localhost:8080/?Demo=behaviorExpandCollapseNode&Renderer=canvas&GridLine=true&Theme=light&Animation=true
4、单击B节点开始收起动画,收起动画的过程中拖动B节点
5、点击其他节点,展开收起功能均失效,无法正常使用

### Version / 版本

🆕 5.x

### OS / 操作系统

- [ ] macOS
- [x] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

No contributing guide indexed for this repository

Research direction

Start the development server and open the behaviorExpandCollapseNode demo from the provided URL with Canvas, grid lines, light theme, and animation enabled. Reproduce the failure by dragging node B during its collapse animation, then verify that expanding and collapsing other nodes still works afterward.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.