maui
maui copied to clipboard
ScrollView does not work correctly on Windows
Description
The ScrollView component does not work correctly on Windows. It works only via the keyboard arrows or the vertical scroll bar, but does not work with the mouse wheel, which is supposed to be the most expected behavior for such a component.
Steps to Reproduce
- Create a new .NET MAUI project
- Reduce the vertical size of the window until the vertical scroll bar appears
- Try scrolling vertically with mouse wheel (doesn't work)
Link to public reproduction project repository
https://github.com/josago97/BugScrollViewMAUI
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10 SDK (10.0.19041.0)
Did you find any workaround?
No response
Relevant log output
No response
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Hi @josago97. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Not repro on windows platform with above project.
BugScrollViewMAUI-master.zip
Verified with a new project in Visual Studio Community 17.7.0 Preview 1.0 on Windows 10.
I find that mouse wheel scroll works OK for a ScrollView with a vertical orientation, but not a horizontal orientation in 7.0.86 Service Release 6
Looks like the horizontal scroll not working might be an upstream issue in WinUI 3 https://github.com/microsoft/microsoft-ui-xaml/issues/8553
I'm also using .NET 6, WinUI 3 in Windows 10 and have the same issue
@kaismic Would be good if you can make a similar comment on the upstream issue, as MS use ticket activity to prioritize work
Indeed the mouse wheel works but dragging with mouse is not working what is stressful and disappointing for users. Looking at the new msft media content about creating menus for windows and keyboard shortcuts for windows this issue being put to backlog is a bit surprising.
The mouse wheel scrolling function does not work in horizontal orientation. Any updates on this?
@Karthickmani97 I assume the work for this is now being tracked in https://github.com/microsoft/microsoft-ui-xaml/issues/877 Might be good to make some noise there so they know it's affecting downstream developers.