Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CellView.animate 方法的 complete 执行两次 #1952

Closed
cuidong626 opened this issue Mar 30, 2022 · 2 comments
Closed

CellView.animate 方法的 complete 执行两次 #1952

cuidong626 opened this issue Mar 30, 2022 · 2 comments
Assignees
Labels
type: bug 缺陷 Defects and unexpected behaviors

Comments

@cuidong626
Copy link
Contributor

问题描述

image
官方文档上面说动画结束后执行一次。但是第一次执行动画方法,立即执行了一次,动画结束后又执行一次。之后就正常了。

另外,animate的参数类型是不是有问题?
image
image

重现链接

https://codesandbox.io/s/ecstatic-poitras-ngxw73?file=/src/app.tsx:663-870

重现步骤

1.点击测试按钮,complete 方法会执行一次
2.动画结束又会执行一次

预期行为

只有动画结束后再执行。

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]
  • X6 版本: [1.31.0 ]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

@NewByVector
Copy link
Contributor

NewByVector commented Apr 9, 2022

先修复一下类型问题(#1989), 触发两次 complete 在不同浏览器下还有不同的行为,继续看下这个问题。

@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 25, 2025

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jan 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug 缺陷 Defects and unexpected behaviors
Projects
None yet
Development

No branches or pull requests

2 participants