-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] CollectionView + Expander: Expanding one item makes every other X item expand too #10993
Comments
This is a duplicate of #9200. |
You need to maintain the
and in your DataTemplate, bind the
For a more detailed explanation, see #9200 (comment) |
ios still has this issue when press on expander a space between items in collection view appear |
Hallo @hartez, |
@amiraelsayedbadwy If you're still experiencing this problem please open a new issue and we will take a look. Thanks! |
Having this problem too, can't use expander if there's no way around it. Am storing expanded state in the bound item as suggested, doesn't work. |
Description
Expanding a item inside a CollectionView makes every X number of item to expand too.
Doing some tests I could identify the problem is not Expander itself but CollectionView because I tested using the same layout with Syncfusion expander and the same problem happens, however replacing the CollectionView by a ListView with default caching strategy works fine, but changing ListView caching strategy to RecycleElement or RecycleElementAndDataTemplate causes the same issue as the CollectionView.
PS.: Test done only on Android. I haven't tried the same code on iOS.
Steps to Reproduce
Expected Behavior
Only tapped item to be expanded
Actual Behavior
Every X number of items expanded
Basic Information
Screenshots
Reproduction Link
Test.zip
The text was updated successfully, but these errors were encountered: