Re: [csswg-drafts] [css-transitions] why doesn't transitionend event fire in some cases?

You'd listen for `transitionrun` events. If you got a `transitionrun` event you will either get a `transitionend` or `transitioncancel`.

(Once we ship `getAnimations()` you'll also just be able to wait on `Promise.all(elem.getAnimations().map(animation => animation.finished))` since the `finished` promise rejects if the animation is canceled.)

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3043#issuecomment-415214075 using your GitHub account

Received on Wednesday, 22 August 2018 23:00:47 UTC