Skip to content

Improve scrolling behaviour#2

Merged
AlexMorson merged 3 commits intomainfrom
alex/improve-scrolling
Dec 14, 2025
Merged

Improve scrolling behaviour#2
AlexMorson merged 3 commits intomainfrom
alex/improve-scrolling

Conversation

@AlexMorson
Copy link
Owner

  • Make PageUp/PageDown scroll exactly one page
  • Minimise scrolling when moving the cursor with the arrow keys
  • Scroll smoothly when dragging with the mouse outside the grid

Now using PageUp and PageDown scroll exactly one page, and will keep the
cursor in the same page on the screen, instead of centering it. In the
same vein, when using the arrow keys to move the cursor off-screen, the
view will now only be scrolled by a single cell instead of jumping to
move the cursor to the center.
@AlexMorson AlexMorson merged commit c3a9a55 into main Dec 14, 2025
1 check passed
@AlexMorson AlexMorson deleted the alex/improve-scrolling branch December 14, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant