-
-
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
Svelte 5 next.179 breaks css on page navigation HMR #12381
Comments
Some of my Runes project are broken. 178 works but 179 breaks them.
Another error:
|
Can you provide a minimal reproduction? |
I believe this might be related to an outstanding issue with HMR—temporarily disabling it in svelte.config.js fixed various weird issues for me: const config = {
compilerOptions: {
hmr: false
}
} |
Did some further checking. My project works on next.178 but not 179. Currently working on making a reproduction repo. |
I tried creating a sveltekit app with the same tailwind config, but haven't been able to reproduce the issue yet. Currently attempting in https://github.com/mrxbox98/svelte-css-reproduction. |
Hi, Maybe it's related, but in DEV mode I started getting this error when navigating from page to page. My app is using Inertia and I am runing 5.0.0-next.183. It seems this is happening only if I have a dropdown in my page rendered by the library This is only happening on page navigation and not on hard refresh. Edit: I found one occurence happening also on hard refresh |
@jamesst20 Does that issue also occur on next.178. The error I'm facing only occurs 179 and onwards. |
I'm no longer encountering this issue with the latest svelte 5 preview. |
Me neither! |
I cannot reproduce this issue, but I still got this issue @ the latest next-257 I'm trying to create minimal repro, but here is the link of the page |
Describe the bug
All css stops working on a page navigation in next.179. I upgraded from 175 (which was working) and this error appeared. Reverting to 175 worked properly. I use tailwindCSS. Nothing of importance was in the console.
The bug only occured in dev mode.
Reproduction
I couldn't figure out how to have page navigation svelte.dev.
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: