Ignore vertical_scroll_margin
when the user moves the cursor using the mouse.
#18148
Open
1 task done
Labels
editor
Feedback for code editing, formatting, editor iterations, etc
enhancement
[core label]
mouse interaction
Feedback for mouse interaction states, actions, etc
scroll / scrollbar
Feedback for scrollbar behavior, style, etc
Check for existing issues
Describe the feature
Currently, when moving the cursor with the mouse, the
vertical_scroll_margin
is applied, causing the page to scroll. This results in the cursor no longer aligning with the mouse pointer after clicking, which can feel unintuitive.Requested Behavior:
Disable the vertical_scroll_margin when the user moves the cursor by clicking with the mouse.
The vertical_scroll_margin should still be respected when using keyboard navigation (e.g., arrow keys), but not for mouse interactions.
I come from JetBrains editor which behave like this and I think it's better.
If applicable, add mockups / screenshots to help present your vision of the feature
Screen.Recording.2024-09-20.at.16.57.22.mov
The text was updated successfully, but these errors were encountered: