Skip to content

Conversation

@Benimautner
Copy link
Contributor

This is a quick fix for #256269, where, if inertial scrolling is active, mouse scrolling becomes too fast.
Original pull request for inertial scrolling: #244034

@alexdima tagging you because you seemed to have been the code owner of this last time!

Copilot AI review requested due to automatic review settings September 25, 2025 09:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where inertial scrolling was being applied to mouse wheel input, causing excessive scrolling speed. The fix adds a condition to prevent inertial scrolling when the input device is detected as a physical mouse wheel.

Key changes:

  • Added mouse wheel detection check to inertial scrolling condition
  • Preserves inertial scrolling for non-mouse input devices (touchpads, touch screens)

Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alexdima alexdima enabled auto-merge (squash) October 4, 2025 22:14
@alexdima alexdima added this to the October 2025 milestone Oct 4, 2025
@alexdima alexdima merged commit 9f399eb into microsoft:main Oct 5, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants