monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Bug] :The selected character in the monaco editor cannot be deleted

Open JohnWang99 opened this issue 3 years ago • 1 comments

Reproducible in vscode.dev or in VS Code Desktop?

  • [X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Code

No response

Actual Behavior

In React, the useState parameter is used to control the display of the monaco editor and another component. If another component is displayed first, when switching to the monaco editor, select the character in the monaco editor and press the Delete key, nothing happens. image image

Expected Behavior

It is expected that no matter how many sibling components there are, the monaco editor will display when displayed and function normally

Additional Context

No response

JohnWang99 avatar May 26 '22 10:05 JohnWang99

Please reproduce this issue in the playground. We cannot help you otherwise.

hediet avatar Jul 21 '22 09:07 hediet

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

github-actions[bot] avatar Feb 07 '23 15:02 github-actions[bot]