maui icon indicating copy to clipboard operation
maui copied to clipboard

CollectionView contents not sizing correctly after orientation change

Open owl-guy opened this issue 1 year ago • 0 comments

Description

I have two pages as FlyoutItems in an AppShell. Page 2 contains a CollectionView with Borders as items. When i open Page 2 in portrait mode, switch to page 1, go into landscape view and then go back to page 2, the borders are not sized correctly. Only when i scroll down and then back up again, they suddenly get the right size:

https://github.com/dotnet/maui/assets/114725843/0360531a-7fe8-425c-a35e-a7b77f5c40ef

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/owl-guy/CollectionViewSizeExample

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

owl-guy avatar Jan 03 '24 07:01 owl-guy