dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

iOS CarouselView height stretching page #24077

Open IeuanWalker opened 3 months ago

IeuanWalker commented 3 months ago

Description

iOS CarouselView is stretching the page and takes up more height than what it needs.

Here is a video of the issue. You can see Android working fine and iOS with a height issue. In the second part of the video, you can see all I add to the carousel is a label, and get the same issue -

https://github.com/user-attachments/assets/355356fa-a919-4a64-a68d-826e873c5ce2

Found similar issue, that state it's closed and was fixed in v8.0.40. I'm using v8.0.71

Also found similar issues for CollectionView, so not sure if they are related.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.71 SR7.1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

The custom handler commented on the previous issue fixes it - https://github.com/dotnet/maui/issues/18223#issuecomment-1885430142

Relevant log output

No response

github-actions[bot] commented 3 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

IeuanWalker commented 1 month ago

https://github.com/xamarin/Xamarin.Forms/issues/8640

IeuanWalker commented 1 month ago

Work around doenst fully work :/

On smaller devices the carousel now doesn't take up all the space it needs - Image