-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Svelte 5: animate:flip
can cause transition glitches and overlapping on outro
#10251
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
Comments
I'm doing to need some help with this one. I have no idea why it's happening. |
I suspect that due to the already running transition, the calculated target position is off. |
oh man I've been waiting for this one to get addressed. its really apparent if you have a grid of cards and scale out some of them with FLIP they all just stack at the top left to transition out. I will be following this. I will actaully add to it and say this was an issue in Svelte 4 as well but not 3. Here is an example with svelte 4. You will notice if you switch between a specific hero type and "all" the heros being removed will stack in the top left corner of the grid. Hope that helps in some way. |
This seems to be fixed now. |
|
Yeah sorry, I missed that. |
#11208 fixes FLIP, but now stuff overlaps again on outro (i.e. it is as broken as it was in v4).
|
Describe the bug
When using transitions like
fly
in combination with theflip
animation, the transitions can be adversely affected.Reproduction
Code
Svelte 4
Svelte 5
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: