sveltejs / kit

web development, streamlined
https://kit.svelte.dev
MIT License
17.81k stars 1.78k forks source link

Shallow routing doesn't work correctly #12144

Closed falkomerr closed 3 weeks ago

falkomerr commented 3 weeks ago

Describe the bug

When I click on the button that should call pushState, nothing happens (the button itself works). I also had a situation when pushState was triggered, but the page content was not displayed

Reproduction

https://www.sveltelab.dev/83q24kv7fwy8s9h

Just click on the button and make sure that shallowRouting is not working

Logs

No response

System Info

System:
    OS: Linux 6.7
    Memory: 5.38 GB / 15.99 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 21.7.3 - ~/.local/share/mise/installs/node/latest/bin/node
    bun: 1.1.3 - ~/.bun/bin/bun

Severity

serious, but I can work around it

Additional Information

No response