Scroll the sideways card rows with a plain wheel - #29
Closed
mobrava wants to merge 1 commit into
Closed
Conversation
Scrolling vertically over the card row, a pinboard row, or the tab strip now moves it sideways. Those rows only run horizontally, so a wheel that only reports vertical movement did nothing and Shift had to be held. A scroll that is already sideways is left alone, so Shift + wheel, a thumb wheel, and trackpad sideways gestures are unchanged, and a view that also scrolls vertically keeps the normal meaning of the wheel. The event's vertical movement is moved onto the horizontal axis and handed back to AppKit, which keeps its line height, acceleration, and edge clamping instead of reimplementing them. The choice comes from the direction of the scroll rather than the kind of device, because a mouse reports the same fine deltas a trackpad does once its vendor software enables smooth scrolling. Within one gesture the first decision is held until momentum finishes, so a swipe that drifts off axis cannot flip between sideways and vertical frame by frame. Covers the scrolling request in #26. The Simplified Chinese settings localization and the hover based Quick Look target in that issue are untouched, so it stays open.
mobrava
added a commit
that referenced
this pull request
Sep 11, 2026
Scrolling vertically over the card row, a pinboard row, or the tab strip now moves it sideways. Those rows only run horizontally, so a wheel that only reports vertical movement did nothing and Shift had to be held. A scroll that is already sideways is left alone, so Shift + wheel, a thumb wheel, and trackpad sideways gestures are unchanged, and a view that also scrolls vertically keeps the normal meaning of the wheel. The event's vertical movement is moved onto the horizontal axis and handed back to AppKit, which keeps its line height, acceleration, and edge clamping instead of reimplementing them. The choice comes from the direction of the scroll rather than the kind of device, because a mouse reports the same fine deltas a trackpad does once its vendor software enables smooth scrolling. Within one gesture the first decision is held until momentum finishes, so a swipe that drifts off axis cannot flip between sideways and vertical frame by frame. Covers the scrolling request in #26. The Simplified Chinese settings localization and the hover based Quick Look target in that issue are untouched, so it stays open.
Owner
Author
|
Merged into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Scrolling vertically over the card row, a pinboard row, or the tab strip now moves it sideways. Those rows only run horizontally, so a wheel that only reports vertical movement did nothing and Shift had to be held.
A scroll that is already sideways is left alone, so Shift + wheel, a thumb wheel, and trackpad sideways gestures are unchanged, and a view that also scrolls vertically keeps the normal meaning of the wheel. The event's vertical movement is moved onto the horizontal axis and handed back to AppKit, which keeps its line height, acceleration, and edge clamping instead of reimplementing them.
The choice comes from the direction of the scroll rather than the kind of device. A mouse reports the same fine deltas a trackpad does once its vendor software enables smooth scrolling, so treating precise deltas as "this is a trackpad, leave it alone" would skip exactly the mice this is meant to fix. Within one gesture the first decision is held until momentum finishes, so a swipe that drifts off axis cannot flip between sideways and vertical frame by frame.
Covers the scrolling request in #26. The Simplified Chinese settings localization and the hover based Quick Look target in that issue are untouched, so it stays open.
Type of Change
How to Test
Then, with the panel open and enough clips to overflow the row:
docs/testing/issue-26-wheel-scroll.mdhas the full matrix.Checklist
xcodegen generate && xcodebuild)