Closed zachczx closed 3 months ago
I am seeing the same, with a slightly different setup: SvelteKit using the node adapter on a regular server, behind Cloudflare proxied DNS. Exact same setup works fine without proxied DNS.
I also encountered the same problem, but it was resolved by unchecking HTML in Auto Minify.
Describe the bug
Sveltekit with Svelte5 renders the app twice on the viewport, one app on top of another app. The top one is generally non responsive and clicks to elements on the top app leads to responses in the bottom app.
This happens when you deploy a Sveltekit app on Svelte5 to Cloudflare Pages, use a custom domain (CNAME pointing to the pages.dev page). Using a direct URL is fine, so it appears to be something about using a CNAME with Svelte5.
Reproduction
https://test.zixian.dev/ https://github.com/zachczx/test.git
The git page is just a generic install of release 73 I pulled this morning, and carries the same problem in prior versions as well.
Logs
No response
System Info
Severity
annoyance