Skip to content

Svelte 5: Transition Bug #11212

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

Closed
mstachowiak opened this issue Apr 17, 2024 · 6 comments
Closed

Svelte 5: Transition Bug #11212

mstachowiak opened this issue Apr 17, 2024 · 6 comments
Milestone

Comments

@mstachowiak
Copy link

mstachowiak commented Apr 17, 2024

Describe the bug

Transitions in Svelte 5 fail to render content completely, or if there is a short duration specified, not at all. See the reproduction for an example of the issue.

We first started noticing this 5.0.0-next.82 and it wasn't present in 5.0.0-next.81. The changes in 5.0.0-next.82 don't appear related at first glance, but that's when we started seeing issues in our application fwiw.

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAE91STY-bMBD9K1Nvpd2VorKkzYU4SP04tOfdW90DwTaMamwLD_kQ4r9XDqRL1I20PfRSWciM32Pe8zx6ptGowLLvPbNFo1jGPnrPFoyOPhZhpwwptmDBdW0ZT3goW_QEprDVRjAKguXCCsLGu5agh2BQKhhAt66B27FBQm1hAxI6e7uO7PgYRRBqt__sLClLsIG3gQpSd7owQd1HnhWkO1vG74BcVRk1ke_uoT_1ocsOb2ZlxAdheTI6ji4tr9P88WQJVvD021SAT13FkzodSduOyFlwtjRY_tz0F9LD6br9Deq5-2F08zXefabfZ8oENYGPtdtfgAnqk8FRb9SWuINAR6M2gkkM3hTHTBt1GMdsBV0wmqKt0GaQrvxhDb6QEm11LreularNIPUHCM6ghBv9ENd6ykwQr5f58xhgn8CXri3iO0_q5Znk86caA5TTmDGAdQSTOyV54ifmlalMptFmp59j0_dyUskgfRgGcB1dgfJzB0G8M7NKEDeYp_CNVMMTg39Ay-vQ--vQh-vQ6iWIJzNXPJG4O49iDHd2-M-zc68MLwZkYdsRlB05rd_9bYDPef0_8Zx3tmCNk6hRSZZR26nhx_AL8XqPNiYFAAA=

Logs

No response

System Info

  System:
    OS: macOS 14.3.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 478.14 MB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - /usr/local/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.4 - /usr/local/bin/pnpm
  Browsers:
    Brave Browser: 99.1.36.119
    Chrome: 123.0.6312.124
    Safari: 17.3.1
  npmPackages:
    svelte: 5.0.0-next.81 => 5.0.0-next.104 

Severity

blocking an upgrade

@mstachowiak mstachowiak changed the title Svelte 5: Transitions Bug Svelte 5: Transition Bug Apr 17, 2024
@dummdidumm dummdidumm added this to the 5.0 milestone Apr 17, 2024
@harrisi
Copy link

harrisi commented Apr 17, 2024

The content in the right side doesn't get cut off in Safari (17.4.1). It still won't show the content (in any browser) unless the duration is >= 17. Which is the cutoff for 60fps, anything less than that is > 60fps.

@cdcarson
Copy link

I think this may be the same as #11081

@harrisi
Copy link

harrisi commented Apr 17, 2024

This example also works in Safari but not Chrome or Firefox.

@mstachowiak
Copy link
Author

mstachowiak commented Apr 18, 2024

This appears to be fixed in the latest code running on https://svelte-5-preview.vercel.app/. It was broken in 5.0.0-next.107, but I'm guessing the code released in the upcoming 5.0.0-next.108 will resolve it.

@mstachowiak
Copy link
Author

Resolved in 5.0.0-next.108

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

4 participants