[PR #10979] Don't scroll vertically on horizontal scroll motions #28339

Open
opened 2026-01-31 09:27:53 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/10979

State: closed
Merged: Yes


Summary of the Pull Request

Pretty straightforward. Check if the scroll event is a horizontal movement. If it is, ignore it. We don't have a horizontal scrollbar.

References

  • obviously, revisit this if we ever do #1860

PR Checklist

Validation Steps Performed

  • scrolled ↑/↓ with slaptop trackpad: terminal scrolls.
  • scrolled ←/→ with slaptop trackpad: terminal doesn't scroll.
  • Scrolling slightly more vertically than horizontally still scrolls.
  • Scrolling slightly more horizontally than vertically doesn't scroll.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10979 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Pretty straightforward. Check if the scroll event is a horizontal movement. If it is, ignore it. We don't have a horizontal scrollbar. ## References * obviously, revisit this if we ever do #1860 ## PR Checklist * [x] Closes #10329 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Validation Steps Performed * scrolled ↑/↓ with slaptop trackpad: terminal scrolls. * scrolled ←/→ with slaptop trackpad: terminal doesn't scroll. * Scrolling _slightly more vertically than horizontally_ still scrolls. * Scrolling _slightly more horizontally than vertically_ doesn't scroll.
claunia added the pull-request label 2026-01-31 09:27:53 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28339