Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: Playground clears portions of text when attempting to type #6336

Closed
@lostfictions

Description

@lostfictions

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have searched for related issues and found none that matched my issue.
  • I have read the FAQ and my problem is not listed.

Relevant Package

website

Playground Link

https://typescript-eslint.io/play

Repro Code

1. Visit https://typescript-eslint.io/play.
2. Begin to type in the editor. For example, I started to type `type A = { }`.
3. Portions of the text will disappear as I type. For example, after attempting to type the above, the editor seemed to delete the start of the line, and showed only `{ }`. On another attempt to type the same thing, the editor deleted everything.

ESLint Config

N/A

tsconfig

N/A

Expected Result

The playground editor should not delete or modify input.

Actual Result

The playground editor cannot be used for entering text.

Additional Info

Sorry to file this immediately after #6335 -- I'm not sure if it's related, or if the situation is simply much worse than I at first noticed. The playground seems pretty much unusable in this state -- I thought it would be an easy way to create a minimal repro for a rule false positive, but it's making things much more difficult.

Here's a video showing the issue. After a few moments the playground deletes the entire contents of the editor. On other attempts, different parts of the code were erased for me -- once I was left with just { }, another time I had type = ...

output.mp4

Versions

Chrome 108

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: websiteIssues related to the @typescript-eslint websitewebsite: playground

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions