Navigation stuck if depending on the same CSS over multiple components
trmcnvn opened this issue · 1 comments
trmcnvn commented
If you have a setup such as this:
components/
Header.svelte // Includes <style /> CSS
routes/
subroute/
_layout.svelte // Imports Header.svelte
index.svelte // Imports Header.svelte
index.svelte // Links to /subroute
Navigation gets stuck on client-side navigation to /subroute
, SSR works if going directly to /subroute
.
This was introduced in Sapper v0.28.7 as previous versions work as expected.
I've set up a replication here: https://github.com/trmcnvn/sapper-css-replication