-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
site is borked #3001
Comments
Cannot reproduce this issue |
|
Reproducible on Chrome 74.0.3729.169 MacOS on second loop of steps 1-4. |
Reproducible on Firefox 67 - Ubuntu 18.04 64bits Thanks, @zb0t . In fact, it is happening every time now, after I repeated the steps. |
I updated the version of Svelte the site uses this morning, which is probably what caused this. Running the site locally, it looks like this weirdness appears between Svelte 3.4.4 and 3.5.0. edit: I don't always see this when following the steps in the OP, clicking quickly back and forth between nav links generally triggers it. |
I've locally rolled the version of Svelte the site uses back to 3.4.4 and have redeployed. |
Behaving normally for me now |
Those images on each item on the left-menu are on purpose? |
If I revert #2690, this issue with the site seems to go away locally. This is really mysterious, as that looked like a really obvious and correct fix. |
In particular, if I change this line back to the Clearly Definitely Wrong |
Something else that seems to make this go away (without reverting the above change) is removing the delay on the slide-in transition in https://github.com/sveltejs/svelte-repl/blob/master/src/Message.svelte - I wonder whether there's a corresponding bug to #2871 except with transitions. |
I have pretty much no idea about the inner workings of Svelte's transitions, but: https://github.com/sveltejs/svelte/blob/master/src/runtime/internal/transitions.ts Look at edit: That may not in fact be the whole solution, but there's definitely something awry in edit again: Merely linking the svelte-repl dependency in here is seemingly causing the issue to go away, without changing its transition in Message. So I think I'm actually being affected by sveltejs/rollup-plugin-svelte#58 except in this case, this is a bug that is being masked by having two copies of Svelte's runtime. edit: If I edit |
ok i think i've made a minimal repro of the underlying bug: https://svelte.dev/repl/52955234b8a44873a37b104954854432?version=3.5.1 |
possibly related: #2402 |
looks like this is fixed in 3.5.2 |
The text was updated successfully, but these errors were encountered: