-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Testing] Added tests to validate the ItemsUpdatingScrollMode property in CarouselView #26160
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
Conversation
|
/rebase |
7db0d12 to
27d36e5
Compare
rmarinho
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test is failing in several platforms
|
/rebase |
27d36e5 to
d3a936e
Compare
|
The default value for the ItemsUpdatingScrollMode property is KeepItemsInView
So, by default, the CarouselView should move the scroll to the first item after add a new one. That happens on Windows, after merge c3f42a9 In the added UITest we can validate the behavior with the three enum options:
However, as described in the issue, on Android the position is maintained by default. That's wrong. However, more than fix the Windows behavior, seems like it is wrong on other platforms. @Tamilarasan-Paranthaman Could you check the tests results and align/fix the behavior between platforms? Close in favor of #26608 |
Description of Change
Added tests to validate the ItemsUpdatingScrollMode property in CarouselView.

Issues Fixed
Related with #25991