[Windows, Android] Toggling Header/Footer in CollectionView Dynamically is not working #27959
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
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
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
The text was updated successfully, but these errors were encountered: