Closed
Description
Describe the bug
When using a slide transition on an element thats height shrinks while it's visible, when it transitions out, it jumps back to the original height before transitioning out.
Logs
N/A
To Reproduce
REPL: https://svelte.dev/repl/3ffb8bc1d6714cfba17fe6f0eb168759?version=3.22.2
- Expand the div
- Click the "Remove some options" button
- Collapse the div and watch it's height jump before transitioning out
Expected behavior
The div should collapse from it's current height and not grow first.
Stacktraces
N/A
Information about your Svelte project:
N/A - reproduced in the REPL
Severity
Not severe. I can do regular CSS transitions. Just wanted to report the issue.
Additional context
N/A