Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 5: Outro transition easing isn't reversed when it beings running before the intro transition is run #10219

Closed
aradalvand opened this issue Jan 18, 2024 · 1 comment
Assignees
Milestone

Comments

@aradalvand
Copy link

aradalvand commented Jan 18, 2024

Describe the bug

A continuation (or "slice") of #9937.
Thanks to #10190, outro transitions have been fixed now in terms of easing (i.e. the easing is reversed, just like in Svelte 4), but only when they are triggered after the intro transition has finished — in the video below, notice how the outro transition begins fast and ends slowly (which is what cubicOut represents); this is correct:

Rec.0011.mp4

But if the outro transition is triggered before the intro transition has finished, the easing doesn't look the same, and suffers from the same issue that was described in #9937 — notice how this time the outro transition beings slowly and ends fast (which is the opposite of what a cubicOut animation is supposed to look like):

Rec.0012.mp4

Reproduction

The same REPL that was provided in #9937

Logs

No response

System Info

N/A

Severity

blocking an upgrade

@trueadm
Copy link
Contributor

trueadm commented Jan 18, 2024

See #10220, let me know if that works for you.

@trueadm trueadm added this to the 5.0 milestone Mar 19, 2024
@trueadm trueadm closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants