XamarinCommunityToolkit
XamarinCommunityToolkit copied to clipboard
[Bug] StateLayout on iOS - Collection View Overlap
Description
I have attached a simple example - a stack layout with a collection view (start&expand) and then multiple stacklayouts (end). Everything works as expected. I then put the statelayout hook onto the parent stack layout, and for iOS this causes the elements to overlap. If I remove the collectionview the overlapping stops. So the issue is when the situation involves both statelayout and a collectionview.
Link to Reproduction Sample
https://github.com/Goksly/StateLayoutIssue
Steps to Reproduce
- Open the app
- Click the menu top left
- Browse
Expected Behavior
As per Android, the collectionview should take up the space it needs with a "sticky" footer of the examples.
Actual Behavior
In iOS everything is stacked over each other.
Basic Information
- Version with issue:
- Last known good version: 2.0.6
- IDE: VS 2022 17.5.5
- Platform Target Frameworks:
- iOS: 8.0
- Android: 5.0
- Android Support Library Version:
- Nuget Packages: Essentials,CommunityToolkit.Mvvm
- Affected Devices: All on iOS I've tried.
Workaround
None. I've tried all sorts of layouts and tweaking controls being added, removed, made invisible etc and nothing works.
Reproduction imagery
@sthewissen probably out of order since you've passed your baby over, but reaching out as this is really causing me headaches. Do you have any ideas of a work around for this issue on the iOS platform?