Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Navigation stuck if depending on the same CSS over multiple components #1753

Open
trmcnvn opened this issue Mar 22, 2021 · 1 comment
Open

Comments

@trmcnvn
Copy link

trmcnvn commented Mar 22, 2021

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

@trmcnvn
Copy link
Author

trmcnvn commented Aug 24, 2021

Fixed by #1790

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant