Skip to content

[Android] Performance issue with Horizontal ScrollView #22184

Open

Description

Description

When using a horizontal ScrollView with a layout, we have an infinite Layout loop dramatically impacting performance.

This is the behavior on Xamarin.Forms:
sv-horizontal-xf

And this is .NET MAUI:
sv-horizontal-maui

Steps to Reproduce

  1. Sync or download https://github.com/jsuarezruiz/netmaui-chat-app-challenge
  2. Launch the App on Android.
  3. Try to scroll the top horizontal list (just 10 items in the sample code, 100 in the gif but can see the problem in any case).

Link to public reproduction project repository

https://github.com/jsuarezruiz/netmaui-chat-app-challenge

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 14

Did you find any workaround?

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions