Skip to content

Crossfade transitions not smooth #15857

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

Open
hanielu opened this issue May 1, 2025 · 0 comments
Open

Crossfade transitions not smooth #15857

hanielu opened this issue May 1, 2025 · 0 comments

Comments

@hanielu
Copy link

hanielu commented May 1, 2025

Describe the bug

Triggering a crossfade in quick succession causes the element being animated to instantly snap to their new position and not animate in.
This isn't the case with framer-motion's layout transitions, and wasn't the case in older versions of svelte (svelte 4)

Svelte 5:

CleanShot_2025-04-30_at_1_.30.20.mp4

Svelte 4:

CleanShot.2025-05-01.at.2.09.36.mp4

Reproduction

Svelte 5

Svelte 4

Logs

System Info

REPL - Svelte v5.28.2
Tested in Arc Browser
macOS 15.4.1

Severity

annoyance

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

No branches or pull requests

1 participant