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, Android] Toggling Header/Footer in CollectionView Dynamically is not working #27959

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

Comments

@HarishKumarSF4517
Copy link
Contributor

Description

When dynamically toggling the header or footer in a CollectionView by setting it to null and then re-assigning it not working in Windows and Android.

Screen.Recording.2025-02-21.190846.mp4
Screen.Recording.2025-02-21.at.7.09.41.PM.mov

Steps to Reproduce

  1. Run the given Sample - Issue25724.zip
  2. Tap the "Toggle Header" button to hide the header.
  3. Tap the "Toggle Header" button again to show the header.
  4. The header does not toggle; no action occurs.

Windows Issue:

Problem: After tapping the "Toggle Header" or "Toggle Footer" buttons, the header or footer text gets removed (empties), but it does not return after toggling again. This results in the header/footer not being restored.
Expected Result:
The header/footer should toggle correctly, with the text being displayed when the header/footer is shown.
Actual Result:
After toggling, the header or footer text remains empty and does not return to its original state.

Android Issue:

Problem: On Android, tapping either the "Toggle Header" or "Toggle Footer" buttons has no effect. The header and footer are not hidden or shown when the buttons are clicked.
Expected Result:
The header/footer should toggle visibility when the corresponding button is tapped.
Actual Result:
Tapping the "Toggle Header" or "Toggle Footer" button does not trigger any changes in the UI.

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

No response

Affected platforms

Android, Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@HarishKumarSF4517 HarishKumarSF4517 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
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Feb 24, 2025
@Zhanglirong-Winnie
Copy link

This issue has been verified Visual Studio 17.14 Preview 1(9.0.40 & 9.0.14). Can repro this issue on Android and Windows platforms.

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/android 🤖 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