Skip to content

ScrollView's ScrollToAsync doesn't complete when called thrice with the same value #27250

Open
@NafeelaNazhir

Description

Description

When calling ScrollToAsync thrice with the same Y value on a ScrollView, the scrolling operation does not complete on iOS, Windows, and Catalyst platforms. This behavior is inconsistent with Android, where the scrolling operation completes as expected. Additionally, on iOS, Windows, and Catalyst, during the second call, the X value unexpectedly goes to a negative value, even though it is explicitly set to 0.

Note while fixing the issue enable the test cases in ScrollToUITests.

Screen.Recording.2025-01-21.at.8.10.33.PM.mov

Steps to Reproduce

  1. Launch the Application SimpleSample 1.zip
  2. Tap "Scroll to 100" twice and observe that the scrolling operation does not complete on MacCatalyst, iOS, and Windows.

Link to public reproduction project repository

No response

Version with bug

9.0.30 SR3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

iOS, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Activity

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions