-
Notifications
You must be signed in to change notification settings - Fork 674
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
Horizontal scrolling with touchpad doesn't work in WebView2 #7772
Comments
Looks like WebView2::HandlePointerWheelChanged() is failing to check if the wheel event is PointerPoint.Properties.IsHorizontalMouseWheel and just handles all of them as vertical wheel. |
I encounter this issue in a UWP application project using a WebView2 for it's main UI. |
@codendone Is there an update on this issue? |
Adds check to mouse scrolling to see if horizontal scrolling is possible Fix microsoft#7772
Adds check to mouse scrolling to see if horizontal scrolling is possible Fix #7772 Co-authored-by: Thomas McAuliffe <[email protected]>
Good job, thanks @tjamesmac ! |
This fix will also be in WinUI 3 in the next servicing release. |
Fixed in 1.3.2 |
Does anyone know if the fix is coming to WinUI 2? |
@aquinn39 Yes, a release of WinUI 2 is planned soon containing this fix. |
Adds check to mouse scrolling to see if horizontal scrolling is possible Fix #7772 Co-authored-by: Thomas McAuliffe <[email protected]>
Describe the bug
Trying to scroll a WebView2 web page horizontally with a touchpad does not work - it just scrolls vertically instead. Horizontal scrolling with touchpad works fine in Microsoft Edge so it should work in WebView2. Also, I tested horizontal scrolling with touch in WebView2 and that works fine.
Steps to reproduce the bug
Expected behavior
The web page should scroll horizontally like in Microsoft Edge.
Screenshots
No response
NuGet package version
Microsoft.UI.Xaml 2.8.0
Windows app type
Device form factor
Desktop
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: