This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [ios] CollectionView crashes on iOS when adding new groups (repro included) Also slows down when SectionHeadersPinToVisibleBounds is true #15161
Labels
Description
Steps to Reproduce
Repro: https://github.com/vapolia/ReproCollectionViewGroupCrash
Expected Behavior
2 groups displayed in the collection vuew
Actual Behavior
crash
Basic Information
Reproduction Link
https://github.com/vapolia/ReproCollectionViewGroupCrash
Workaround
Add Task.Delay(1) after each unit change involving groups.
additional info:
quickly adding normal items to the collection view Will also crash it. Adding task delay fix it.
setting sectionHeadersPinToVisibleBounds To true through a custom renderer slows down the scrolling very very hard. It also triggers a leak as the slowdown increases with the scrolls.
This one has also been reported by someone on stackoverflow https://stackoverflow.com/questions/70947521/scroll-hangs-in-collection-view-when-sectionheaderspintovisiblebounds-is-used-in
Repro is easy:
The text was updated successfully, but these errors were encountered: