Minimap doesn't take editor.scrollBeyondLastLine into account and scrolls beyond the last line #28944
Labels
bug
Issue identified by VS Code Team member as probable bug
editor-minimap
Code/Text minimap widget issues
verified
Verification succeeded
Milestone
Steps to Reproduce:
Set "editor.scrollBeyondLastLine": false in settings.
The editors now cannot scroll beyond the last line, as expected.
Try to scroll via minimap, the minimap still scrolls beyond the last line, which looks weird and incorrect. The minimap preview shows that we are past the file content, but the actual editor shows that we are not past the last line.
Expected behavior:
Minimap should honor the editor settings w.r.t. scrolling past the last time. If editor cannot scroll past the last line, minimap should do the same. At the very minimum, if this sync is not desired for some reason, minimap settings should be introduced that disables scrolling past the last line, e.g.
editor.minimap.scrollBeyondLastLine
The text was updated successfully, but these errors were encountered: