动画api中,如果在动画执行的过程中,调用cancel方法,会导致动画的finished Promise 不进入后续状态
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
动画api中,如果在动画执行的过程中,调用cancel方法,会导致动画的finished Promise 不进入后续状态,在G6 中这种情况会导致一些依赖动画状态结束的操作无法正常进入后续流程。

- OS: [e.g. win10, iOS8.1]
- Browser [e.g. chrome, safari]
- Version [e.g. @antv/g-lite@6.1.10]
## Steps To Reproduce
无
Link to code example:
## The current behavior
## The expected behavior
Contributor guide
Research direction
No source file, test, or reproducible steps are provided. Start by isolating an in-progress animation, call cancel, and inspect the finished Promise behavior; confirm the intended post-cancellation state with maintainers before adding a regression test and defining done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100