AndreiMisiukevich / CardView.MAUI

CardsView | CarouselView | CoverflowView | CubeView for .NET Maui
MIT License
191 stars 14 forks source link

Coverflow now gets squashed unless you set height request. #20

Closed Zack-G-I-T closed 10 months ago

Zack-G-I-T commented 11 months ago

The last merge fixed issues with the border which is great @PavloLukianets!

However, now the CoverFlowView doesn't measure what's inside it to determine height, so everything squashes into it. In the samples project - If you change the grid back to a stackLayout in CoverFlowSampleXamlView.xaml you will see the CoverFlowView get squashed to the top and the button renders over it as seen in the screenshot.

If you set a fixed height request it will work, however sometimes you don't always know what height the ItemTemplate is going to be.

Screenshot_20231206-172240

AndreiMisiukevich commented 11 months ago

@PavloLukianets man, you did a great job so far. But... I am gonna leave this video here... :)

https://www.youtube.com/watch?v=fY7l2pcxdHM&ab_channel=BasketballAction

themronion commented 11 months ago

Yeah, you know i would just recommend to not use the legacy Stacklayout but i doubt its gonna be an acceptable solution)

AndreiMisiukevich commented 11 months ago

For some reason it doesn't work with Grid as well. Pfff

themronion commented 11 months ago

The sample is ok, dunno what u mean

AndreiMisiukevich commented 11 months ago

@themronion

That's what I see (.NET 8, as far as I understand)

image
AndreiMisiukevich commented 11 months ago

It can be just iOS MAUI bug though

themronion commented 11 months ago

Oh, well, haven't tested on ipad sim so dunno about that one

vikern22 commented 11 months ago

Seeing similar(?) behavior on CarouselView on iOS. First is 0.0.4, second 0.0.5

IMG_2199 IMG_2200

AndreiMisiukevich commented 11 months ago

@PavloLukianets do you have a desire to help with that stuff too? :) It would be a grace from your side

carlosxjose commented 11 months ago

Great library and thanks for all your support!!!

I have the same issue... Rollback from 0.0.5 to 0.0.4 and everything is auto height again...

riccardomartins commented 10 months ago

We are having the same issue in CardsView

PavloLukianets commented 10 months ago

Jesus guys, why are u so lazy) Just fork the repo and do the fixes and open a pr. Here you are, cry-babies, try it out: CardsView.Maui.0.0.6.nupkg.zip