dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.04k stars 1.73k forks source link

Horizontal scrolling causes elements to become focused on Android #17060

Open go-ezy opened 1 year ago

go-ezy commented 1 year ago

Description

When scrolling horizontally, elements such as entries, pickers become focused on Android. This does not happen on iOS or Windows or when scrolling vertically.

Steps to Reproduce

Create a new project. Add a Scrollview and set orientation to Horizontal or Both. Add multiple entries to the scrollview. Run the app on an Android device Scroll horizontally.

Link to public reproduction project repository

https://github.com/go-ezy/AndroidScrollViewBug/blob/main/AndroidScrollViewBug/MainPage.xaml

Version with bug

7.0.92

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 13

Did you find any workaround?

No response

Relevant log output

No response

XamlTest commented 1 year ago

Verified this on Visual Studio Enterprise 17.8.0 Preview 1.0. Repro on Android 13.0-API33 .NET 8, not repro on Windows 11 and iOS 16.4 with below Project: AndroidScrollViewBug.zip ScrollFocus

hiepis commented 2 weeks ago

any update? Verify issue on .net 8