Skip to content

Restricts horizontal scrolling to mouse over#3953

Merged
Keboo merged 1 commit intoMaterialDesignInXAML:masterfrom
Keboo:kdb/fixHorizontalScrollBehavior
Oct 26, 2025
Merged

Restricts horizontal scrolling to mouse over#3953
Keboo merged 1 commit intoMaterialDesignInXAML:masterfrom
Keboo:kdb/fixHorizontalScrollBehavior

Conversation

@Keboo
Copy link
Copy Markdown
Member

@Keboo Keboo commented Oct 26, 2025

Ensures horizontal mouse wheel events only affect the ScrollViewer when the mouse cursor is directly over it. This prevents unintended scrolling of background or non-focused elements.

Simplifies the scroll handling by inlining the logic and removing a redundant helper method.

This fixes some odd behavior I saw while testing #3952

Ensures horizontal mouse wheel events only affect the ScrollViewer when the mouse cursor is directly over it. This prevents unintended scrolling of background or non-focused elements.

Simplifies the scroll handling by inlining the logic and removing a redundant helper method.
@Keboo Keboo added this to the 5.3.1 milestone Oct 26, 2025
@Keboo Keboo enabled auto-merge (squash) October 26, 2025 17:49
@Keboo Keboo merged commit d18dd3e into MaterialDesignInXAML:master Oct 26, 2025
2 checks passed
@Keboo Keboo deleted the kdb/fixHorizontalScrollBehavior branch October 26, 2025 18:05
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