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
After updating to [email protected], I noticed that the animations of my component don't work properly anymore and found out that my onanimationend event is not getting triggered. After a considerable amount of searching I found out that under the following conditions, the onanimationend event doesn't trigger.
Try removing the restProps spread and you will see that the onanimationend event gets called. you can do the same thing for ontransitionend and witness that again the onanimationend event gets called. Only when both the {...restProps} and ontransitionend props are present, the onanimationend event is ignored. I'm not sure if this only happens for these events or if other things can also cause the same issue. All I can say for sure is that this issue wasn't present in [email protected]
Describe the bug
After updating to [email protected], I noticed that the animations of my component don't work properly anymore and found out that my onanimationend event is not getting triggered. After a considerable amount of searching I found out that under the following conditions, the onanimationend event doesn't trigger.
Reproduction
Test.svelte
styles.css
+page.svelte
Try removing the restProps spread and you will see that the onanimationend event gets called. you can do the same thing for ontransitionend and witness that again the onanimationend event gets called. Only when both the {...restProps} and ontransitionend props are present, the onanimationend event is ignored. I'm not sure if this only happens for these events or if other things can also cause the same issue. All I can say for sure is that this issue wasn't present in [email protected]
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: