maui icon indicating copy to clipboard operation
maui copied to clipboard

ScrollView does not work correctly on Windows

Open josago97 opened this issue 2 years ago • 1 comments

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

  1. Create a new .NET MAUI project
  2. Reduce the vertical size of the window until the vertical scroll bar appears
  3. Try scrolling vertically with mouse wheel (doesn't work) image

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

josago97 avatar Nov 13 '22 23:11 josago97

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.

ghost avatar Nov 14 '22 15:11 ghost

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.

ghost avatar May 31 '23 07:05 ghost

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Not repro on windows platform with above project. BugScrollViewMAUI-master.zip 11326

Zhanglirong-Winnie avatar May 31 '23 07:05 Zhanglirong-Winnie

Verified with a new project in Visual Studio Community 17.7.0 Preview 1.0 on Windows 10.

josago97 avatar May 31 '23 15:05 josago97

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

jeremy-visionaid avatar Jul 10 '23 22:07 jeremy-visionaid

Looks like the horizontal scroll not working might be an upstream issue in WinUI 3 https://github.com/microsoft/microsoft-ui-xaml/issues/8553

jeremy-visionaid avatar Aug 25 '23 04:08 jeremy-visionaid

I'm also using .NET 6, WinUI 3 in Windows 10 and have the same issue

kaismic avatar Sep 23 '23 11:09 kaismic

@kaismic Would be good if you can make a similar comment on the upstream issue, as MS use ticket activity to prioritize work

jeremy-visionaid avatar Sep 24 '23 19:09 jeremy-visionaid

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.

taublast avatar Dec 10 '23 09:12 taublast

The mouse wheel scrolling function does not work in horizontal orientation. Any updates on this?

Karthickmani97 avatar Apr 04 '24 11:04 Karthickmani97

@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.

jeremy-visionaid avatar Apr 04 '24 20:04 jeremy-visionaid