Often the screen jumps when I am unfolding code.
I think the repro is:
- Open a file that is longer than the screen is tall.
- Place the cursor at the bottom of the file.
- Using the trackpad, scroll the window to the top, leaving the cursor off-screen at the bottom of the file.
- Click in the gutter (next to the line numbers) to fold or unfold a block of code.
Expected: You stay where you are and the block folds or unfolds.
Actual: The block folds/unfolds, but you are also jumped to the bottom of the file, where the cursor is.
Now that I’ve figured out the repro I’ll be able to avoid it, but this has been really weird behavior.