after using animation.cancel(), the Promise of animation.finished is always pending, then I cant use Promise to wait the animation fulfilled.
I tried using every methods I can, such as animation.finish(), but it is still pending.
New contributor
吴自强 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.