-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable horizontal scrolling in code examples #704
Comments
+1 from me |
The question here is more-so what one would expect when scrolling? With the expander however, the horizontal scrolling annoyance is less of an issue. In the meantime, I will bring this up with the design team. |
Note that some mice are able to scroll both vertically and horizontally, via the wheel. |
Can't speak for everybody, but my answer would be not a horizontal scroll :) |
Commenting here as well for posterity: I'm ok with disabling horizontal scroll, it annoys me quite a lot too :) |
To clear up ambiguity: actively disabling HorizontalScroll will make it impossible, so that's a no-go. PR 1540 solves this issue. |
Describe the bug
The contents of some code examples expand further than the main content column of the current page. This introduces horizontal scrolling of the code examples through
<ContentExample.Xaml>
and effectively the surroundingScrollView
. The horizontal scrolling is triggered as soon as the user hovers over the area (i.e.<ContentExample.Xaml>
).This impacts the overall usability, because the scrolling in the page is interrupted as soon as the user hovers to code area.
Steps to reproduce the bug
Steps to reproduce the behavior:
ListVIew
examples pagea. Adjust the XAML Controls Gallery app's width so that the sidebar is just shown.
Actual behavior
You should notice, that as soon as your mouse enters a code example area, the scrolling stops. Instead you are horizontally scrolling in that area.
Expected behavior
Page scrolling is not interrupted.
Screenshots
Version Info
master
Additional context
Suggestion: disable horizontal scrolling of the code examples through user input completely. Instead only show the scrollbar so the use can drag it manually.
Windows 10 version:
Device form factor:
The text was updated successfully, but these errors were encountered: