svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Docs: REPL history entry broken

Open brunnerh opened this issue 2 years ago • 2 comments

Describe the bug

The REPL page does not show when navigating there via browser back/forward.

Reproduction

  • Navigate: "Docs" => "REPL" => "Blog"
  • Browser back (URL updates, page does not)
  • Browser back (now back at "Docs")
  • Browser forward (URL updates, page does not)
  • Browser forward (now back at "Blog")

Logs

No response

System Info

Tested on:
Win 10, 64bit
Firefox 113.0.2 (64-bit) & Chrome 114.0.5735.134 (Official Build) (64-bit)

Severity

annoyance

brunnerh avatar Jun 27 '23 16:06 brunnerh

Just tested this on my end and got the same results.

OS: macOS 13.4 (22F66) Browser: Firefox 13.4 (22F66) & Chrome Version 114.0.5735.133 (Official Build) (arm64)

tuckerbeauchamp avatar Jun 27 '23 21:06 tuckerbeauchamp

I assume this is iframe-related, since those can often do weird things to the browser history stack.

FWIW, does not seem related to the recent site redesign. The same issue appears on an older site version from Feb, before the site/REPL went through the refactor. I grabbed the vercel deployment link from this commit

geoffrich avatar Jun 27 '23 23:06 geoffrich