Open henrikvilhelmberglund opened 3 months ago
Yep, I see this in Firefox all the time as well. In fact, I've opened your link in a new tab ten times and none showed code.
Edit: a quick look at this reveals that it's some issue with codemirror. The editor is in a bugged state. Typing in the editor (or trying to do so) will add more exception to the ones that exist on page load:
The first stack includes re.measure
/ requestMeasure
, so my guess is that Svelte initially gives the editor a size of 0x0 or something because maybe ResizeObserver does not run in the background tab or whatever.
Describe the bug
No idea how or why this happens but I have a Svelte 5 REPL which seems to only load the code 50% of the time. This only happens when opening a REPL in a background tab.
Reproduction
Open link in new tab
.REPL
Logs
No response
System Info
Severity
annoyance