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
There seems to be a delay when my SvelteKit app is loaded from fresh (i.e. not routed) after which there is a layout shift. For example, all <Tab> of a <Tabs> component are visible on page load, and only after a delay are the non-active tabs hidden.
This doesn't happen when you route to another page. Only on reloads (both soft and hard reloads).
Does anyone know if this is a known issue? There seems to be some hydration-related issue in SvelteKit itself? See sveltejs/kit#7775 and sveltejs/kit#967
I'm not doing anything strange I don't think. I do have many {#if} and {#each} blocks. I am doing a bit of fetch() calls.
Has anyone run into this? If so, were you able to get it resolved?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There seems to be a delay when my SvelteKit app is loaded from fresh (i.e. not routed) after which there is a layout shift. For example, all
<Tab>
of a<Tabs>
component are visible on page load, and only after a delay are the non-active tabs hidden.This doesn't happen when you route to another page. Only on reloads (both soft and hard reloads).
You can see it here: https://beta.omdex.org
Does anyone know if this is a known issue? There seems to be some hydration-related issue in SvelteKit itself? See sveltejs/kit#7775 and sveltejs/kit#967
I'm not doing anything strange I don't think. I do have many
{#if}
and{#each}
blocks. I am doing a bit offetch()
calls.Has anyone run into this? If so, were you able to get it resolved?
Beta Was this translation helpful? Give feedback.
All reactions