🐞 Scroll does not follow cursor when adding new line ouside of viewport
Description
Adding a new line that is located outside of the visible viewable editor does not scroll to the new line. However once a character is typed, the scroll position jumps to the new line as expected.
To Reproduce
- Open a new file.
- Scroll to the bottom
- Start adding new lines by pressing the Return key until the cursor is out of view
- Notice that the scroll position doesn't follow the cursor
- Type a character
- Notice that the scroll position jumps to the cursor
Expected behavior
The scroll position should follow the cursor when adding new lines.
Additional context
https://user-images.githubusercontent.com/806104/222929377-ba0bb2cc-6114-423e-9327-d848a4312168.mov
I can't repro this issue anymore @austincondiff
https://user-images.githubusercontent.com/128280019/230960717-428ea32d-9822-4da8-bc30-a649b509ad2e.mov
Transferring to CodeEdit as this is mostly fixed however the bottom inset needs adjusting.
In my recent testing as of version 0.0.3-alpha (36) this is fixed. Closing.