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
I'm trying to animate a list of SVG elements; fly in works fine, but when I start inserting into the middle of the list it's completely wrong - the animation starts from the top of the whole list, rather than the previous position.
For now, I have gotten around this by simply not specifying a view box - I have no idea why this makes a difference, but it does. This is quite annoying however as I cannot size my SVGs properly - advice on further work arounds would also be appreciated.
Describe the bug
I'm trying to animate a list of SVG elements; fly in works fine, but when I start inserting into the middle of the list it's completely wrong - the animation starts from the top of the whole list, rather than the previous position.
For now, I have gotten around this by simply not specifying a view box - I have no idea why this makes a difference, but it does. This is quite annoying however as I cannot size my SVGs properly - advice on further work arounds would also be appreciated.
Reproduction
A minimal example on svelte playground here:
https://svelte.dev/repl/31c7bc6e76324c3c8ea013d5fd62e78a?version=4.0.0
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: