Skip to content

Content is reset at unexpected times #298

Closed
@Rich-Harris

Description

@Rich-Harris

I'm sure there's a simpler repro than this, but I'm making a note of what I observed just now for further investigation later.

  1. Go to https://learn.svelte.dev/tutorial/textarea-inputs
  2. Hit 'solve'
  3. Change - lists to - [links](https://example.com)
  4. Click the newly-rendered link in the output section
  5. Close the tab

The content will have been reset (this happens for me in Firefox and Chrome).

Weirdly, you have to actually close the tab — if you leave it open and navigate back to the tutorial, the content won't have been reset. And if you drag the newly opened tab into a separate window and then close it, nothing will happen. It's... strange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions