[iOS, Catalyst] ScrollPosition changes when updating the ItemsLayout from Grid to Linear layout in CV1 #27955
Labels
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
When changing the ItemsLayout of a CollectionView from GridItemsLayout to LinearItemsLayout dynamically, the layout updates, but the scroll position does not remain and doest stays at zero. This issue occurs on iOS and Catalyst; in Android, it works fine as expected. this issue occurs only on CV1.
Note: While fixing this issue enable the mentioned UITest: Issue5354
Screen.Recording.2025-02-21.at.5.09.26.PM.mov
Screen.Recording.2025-02-21.at.5.11.40.PM.mov
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: