Describe the bug
When the editor window loses focus and is then refocused, upon hitting "escape", the scroll position snaps back to the old position it was at before losing focus. That means when you click back into the editor and hit escape your scroll position snaps back, which is confusing.
To Reproduce
Steps to reproduce the behavior:
Open file
Split file vertically (not necessary but helps test)
Open new file on one side
Focus new file
Focus back to old file using mouse
Hit escape
Notice the cursor goes back to the old position rather than staying at the current position.
Expected behavior
Cursor does not change after hitting escape
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Describe the bug When the editor window loses focus and is then refocused, upon hitting "escape", the scroll position snaps back to the old position it was at before losing focus. That means when you click back into the editor and hit escape your scroll position snaps back, which is confusing.
To Reproduce Steps to reproduce the behavior:
Notice the cursor goes back to the old position rather than staying at the current position.
Expected behavior Cursor does not change after hitting escape
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):