onAnimationEnd event not firing
See original GitHub issuePerhaps a regression with preact 10, or perhaps intended behavior?
Prior to 10 onAnimationEnd
would fire the end event when an animation ends… which no longer happens.
Test case of it failing to alert here https://codesandbox.io/s/71p06y27xj ~ temp (or real) fix was to use lowercase onanimationend
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
javascript - animationend event not firing - Stack Overflow
I am trying to add an animationend event to an element, but the event doesn't get fired. What am I doing wrong, and...
Read more >Element: animationend event - Web APIs | MDN
The animationend event is fired when a CSS Animation has completed. ... is removed from the element, the animationend event is not fired....
Read more >onAnimationEnd event not firing · Issue #1589 · preactjs/preact
Prior to 10 onAnimationEnd would fire the end event when an animation ends... which no longer happens. Test case of it failing to...
Read more >onAnimationEnd, Animationend not firing, Callback after CSS ...
The animationend event is fired when a CSS Animation has completed. If the animation aborts before reaching completion, such as if the element...
Read more >"animationend" | Can I use... Support tables for HTML5, CSS3 ...
1 The onanimationend event handler property is not supported. To listen to this event, use document.addEventListener('animationend', function() {}); .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cristianbote that’s a great idea, I had a PR ready with a different approach but yours will add less bytes and support more diverse cases aswell.
Updating this reproduction to latest makes it work