<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Also, make sure you have searched the issues list to see if there are any duplicate reports, and upgrade to the latest version to test and see if the issue has been fixed. 请提供清晰简洁的错误描述。如有必要,请附上屏幕截图。此外,请确保您已搜索问题列表以查看是否有 任何重复的报告,并升级到最新版本以测试并查看问题是否已被修复。 --> 动画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 无 <!-- Please provide a clear path to reproduce the problem. If we can successfully reproduce the problem, your bug report will be fixed quickly. NOTE: If we don't have enough information to analyze the issue, the report may be closed immediately. 请提供清晰的重现问题路径。如果我们能够成功重现问题,您报告的错误将很快得到修复。 注意:如果我们没有足够的信息来分析问题,报告可能会被立即关闭。 --> Link to code example: <!-- Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. 请提供 CodeSandbox (https://codesandbox.io/s/new)、GitHub 上的存储库链接,或提供重现 问题的最小代码示例。如果您认为该应用程序的屏幕截图与您的错误报告相关,您可以提供该屏幕截图。 --> ## The current behavior ## The expected behavior
Activity
wang1212 commentedon Jun 10, 2025
有没有简化的 G6 / G 的复现示例呢
hashiqi12138 commentedon Oct 9, 2025
1、克隆项目
2、启动开发模式
3、进入节点展开收起示例
http://localhost:8080/?Demo=behaviorExpandCollapseNode&Renderer=canvas&GridLine=true&Theme=light&Animation=true
4、单击B节点开始收起动画,收起动画的过程中拖动B节点
5、点击其他节点,展开收起功能均失效,无法正常使用
wang1212 commentedon Oct 11, 2025
@hashiqi12138 G6 在动画过程中似乎禁止了交互,你是如何复现的?使用的是最新版本的 G6 吗?
lanqing431 commentedon Nov 28, 2026
我想跟进这个问题。当前主线的动画测试已有取消用例,但快照里取消后的 finished Promise 没有结算。我会把取消前后的 Promise 行为补成可验证用例。
hustcc commentedon Dec 1, 2026
@lanqing431 能在 G6/G 的 demo 中复现,并且验证已经解决吗?