[4.8.24] 自定义节点动画问题
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
4.8.24版本的G6,全局开启了animate: true, 每次changeData都会打断节点的自定义动画,但是我自定义节点,update生命周期都会重新执行animate方法,但是每次changeData后没有改变位置的节点的动画还是被打断的,但是触发了它也触发了update周期,拖动下节点,动画就又有了
### Your Example Website or App
-
### Steps to Reproduce the Bug or Issue
同上
### Expected behavior
同上
### Screenshots or Videos
_No response_
### Platform
- OS: [e.g. macOS]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the report in G6 4.8.24 with global animate enabled, custom nodes, and repeated changeData calls; begin by tracing the custom node update lifecycle and animation handling. Done means changeData no longer interrupts custom animations on nodes whose positions did not change, while updates and dragging continue to behave correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100