microsoft / monaco-editor

A browser based code editor

Home Page:https://microsoft.github.io/monaco-editor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zonde does not move to the next line if you add a line break on the line before it

dvangonen opened this issue · comments

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

Demo link

Monaco Editor Playground Code

Reproduction Steps

In the attached demo

  1. Go to line 3
  2. Press enter
  3. The zone does not move from its place and remains at the same level

If you do the same, but on line 2, then the zone will shift as expected.
So, the problem is the only with the line that is immediately before the zone

No response

Actual (Problematic) Behavior

No response

Expected Behavior

No response

Additional Context

No response