Skip to content
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

[iOS, Catalyst] ScrollPosition changes when updating the ItemsLayout from Grid to Linear layout in CV1 #27955

Open
anandhan-rajagopal opened this issue Feb 21, 2025 · 1 comment
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

Comments

@anandhan-rajagopal
Copy link
Contributor

anandhan-rajagopal commented Feb 21, 2025

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

iOS Android
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

  • Launch the app on a Windows device CollectionViewIssue.zip
  • Click the Switch to Grid Layout button.
  • Click the Switch to Linear Layout button again.
  • Observe that collection has scrolled and shows the third image at top.

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

@anandhan-rajagopal anandhan-rajagopal added the t/bug Something isn't working label Feb 21, 2025
@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 21, 2025
@anandhan-rajagopal anandhan-rajagopal changed the title [iOS, Catalyst] ScrollPosition changes when updating the ItemsLayout from Grid to Linear layout in CollectionView [iOS, Catalyst] ScrollPosition changes when updating the ItemsLayout from Grid to Linear layout in CV1 Feb 21, 2025
@vishnumenon2684 vishnumenon2684 removed the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 24, 2025
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Feb 25, 2025
@Marnie-Majait
Copy link

Marnie-Majait commented Feb 25, 2025

This issue has been verified using Visual Studio Code 1.97.2 (9.0.40 & 9.0.30 & 9.0.22 & 9.0.0). Can repro this issue on iOS and MacOS platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants