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

[Windows] CollectionView ItemsLayout does not update while switch from LinearItemsLayout to GridItemsLayout #27946

Open
TamilarasanSF4853 opened this issue Feb 21, 2025 · 1 comment
Labels
partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@TamilarasanSF4853
Copy link

TamilarasanSF4853 commented Feb 21, 2025

Description

When changing the ItemsLayout of a CollectionView from LinearItemsLayout to GridItemsLayout dynamically, the layout does not update on Windows. The items remain displayed in a linear layout even after switching to a grid layout. This issue only occurs on Windows. On Android, the layout updates correctly when switching between LinearItemsLayout and GridItemsLayout.

Note: While fixing this issue enable the mentioned UITest: Issue5354

Screen.Recording.2025-02-21.104021.mp4

Steps to Reproduce

  1. Launch the app on a Windows device CollectionViewIssue.zip
  2. Click the Switch to Grid Layout button.
  3. Click the Switch to Linear Layout button again.
  4. Observe that on Windows, the layout does not switch to GridItemsLayout.

Expected Behavior:

When clicking the Switch to Grid Layout button, the CollectionView should update to a grid layout with multiple columns. When clicking the Switch to Linear Layout button, the CollectionView should revert to a linear layout. The layout should dynamically update as expected when switching between GridItemsLayout and LinearItemsLayout on all platforms.

Actual Behavior:

On Windows, the CollectionView remains in LinearItemsLayout, even after switching to GridItemsLayout. The layout does not visually update, and items are still displayed in a single column (linear format). On Android, the layout switches correctly between grid and linear views.

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

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@TamilarasanSF4853 TamilarasanSF4853 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
@RoiChen001 RoiChen001 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage platform/windows 🪟 labels Feb 21, 2025
@RoiChen001
Copy link

RoiChen001 commented Feb 21, 2025

I can repro this issue at Windows platform on the latest 17.14 Preview 1(9.0.40 & 9.0.30).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 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

2 participants