Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] StateLayout on iOS - Collection View Overlap #1970

Open
Goksly opened this issue May 12, 2023 · 1 comment
Open

[Bug] StateLayout on iOS - Collection View Overlap #1970

Goksly opened this issue May 12, 2023 · 1 comment
Labels
bug Something isn't working. Breaky break.

Comments

@Goksly
Copy link

Goksly commented May 12, 2023

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

  1. Open the app
  2. Click the menu top left
  3. 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

IMG_0074
IMG_0075

@Goksly Goksly added the bug Something isn't working. Breaky break. label May 12, 2023
@Goksly
Copy link
Author

Goksly commented May 25, 2023

@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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working. Breaky break.
Projects
None yet
Development

No branches or pull requests

1 participant