Problem with CollectionView which is wrapped in ContentView
See original GitHub issueDescription
Hello I’m facing an issue with collectionview which is wrapped in contentview. Navigating between custom tabs causes problem with appearing of items in collectionview. It’s really problematic because of that I cannot port my app to Maui. I cant find any workaround 😦 any help will be huge appreciated
Steps to Reproduce
- Go to second tab
- Add several items
- Go to first tab, and then go back again to second tab
- Add item. Item will not appear on list.
- Item will appear after swipe gesture on CV, or changing phone position to landscape
Link to public reproduction project repository
https://github.com/XamerDev/Maui7/tree/CollViewProblem
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android all
Did you find any workaround?
I cant find any workaround 😦 any help will be huge appreciated
Relevant log output
nothing
Issue Analytics
- State:
- Created 9 months ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
UICollectionViewCell improperly sizes itself after calling ...
I have a UICollectionView in my ViewController. This collectionView has a dynamic height so depending on how much text is inside the collectionView...
Read more >Uicollectionview cell only wraps around text
The uicollectionviewcell is wrapped around a single number I want there to be much more space in the collectionviewcell.
Read more >net maui how to create collection view as menu and ...
Hello,. Your main purpose is to scroll the item in CarouselView when the title is selected on the top CollectionView, and change the ......
Read more >Collection View Cells Self-Sizing: Step by Step Tutorial
The present step-by-step guide addresses this issue by explaining how to implement self-sizing collection view cells in iOS from scratch.
Read more >Building a Collection For SwiftUI (Part 2)
Wrapping UIKit Collection View Into SwiftUI ... A parent content view which displays some Model conforming to ObservableObject into our ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Facing the same issue. Here is a recording from @XamerDev repro.
Steps:
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on android platform with sample project. Maui7-CollViewProblem.zip