You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, I have to load this library many times.
When I call ele.animate(...args), the animation does not play but an Error thrown by browser.
VM1558 web-animations-next.min.js:15 Uncaught TypeError: Cannot read properties of null (reading 'cancel')
at new b.Animation (VM1558 web-animations-next.min.js:15:48940)
at b.AnimationTimeline._play (VM1558 web-animations-next.min.js:15:47984)
at HTMLImageElement.Element.animate (VM1558 web-animations-next.min.js:15:57766)
at Object.b.newUnderlyingAnimationForKeyframeEffect (VM1558 web-animations-next.min.js:15:58061)
at b.Animation._rebuildUnderlyingAnimation (VM1558 web-animations-next.min.js:15:49847)
at new b.Animation (VM1558 web-animations-next.min.js:15:48894)
at b.AnimationTimeline._play (VM1558 web-animations-next.min.js:15:47984)
at HTMLImageElement.Element.animate (VM1558 web-animations-next.min.js:15:57766)
at ani (test.html:20:31)
at test.html:38:9
For some reason, I have to load this library many times.
When I call
ele.animate(...args)
, the animation does not play but an Error thrown by browser.Demo:
The text was updated successfully, but these errors were encountered: