CardView.MAUI icon indicating copy to clipboard operation
CardView.MAUI copied to clipboard

ios Label is not wrapping in CarouselView

Open eyeveye opened this issue 1 year ago • 6 comments

Label inside CarouselView is not wrapping. Problem only exist in iOS.

Tried to change to Maui.Controls.CarouselView, no problem.

eyeveye avatar Oct 15 '23 17:10 eyeveye

I experience the same issue. (dotnet 8)

vikern22 avatar Nov 20 '23 08:11 vikern22

Hi folks I am sure it is related to https://github.com/AndreiMisiukevich/CardView.MAUI/issues/16

But I don't know how to fix that. Feel free to submit a PR and I will be happy to review and merge it asap

AndreiMisiukevich avatar Nov 20 '23 10:11 AndreiMisiukevich

Also, try to wrap the label with something e.g. StackLayout / ContentView Sorry folks, I don't have much time for this project now

AndreiMisiukevich avatar Nov 20 '23 10:11 AndreiMisiukevich

Still does not work for me on 0.0.6

vikern22 avatar Dec 22 '23 11:12 vikern22

@vikern22 does wrapping the label with content view solves the problem?

AndreiMisiukevich avatar Dec 23 '23 02:12 AndreiMisiukevich

@AndreiMisiukevich Can't see any difference on either platform🤷‍♂️

vikern22 avatar Dec 27 '23 10:12 vikern22

@eyeveye @vikern22 Would either of you be able to provide a reproducible project with the label wrapping issue? I had a bit of a play and couldn't reproduce it precisely.

I was having label wrapping issues in a CarouselView on iOS too, but that was the result of a dumb moment from me. In my scenario, I had a parent grid that had a fixed row height, and the text would wrap on Android but not iOS. Increasing the row height or setting to auto fixed it on both which makes sense, since iOS text size renders differently to Android text size.

DashTheDev avatar Jun 18 '24 20:06 DashTheDev

Thanks @DashTheDev ! BTW a new version is about to be released!

As for the issue, please try latest version on .NET 8

AndreiMisiukevich avatar Jun 19 '24 01:06 AndreiMisiukevich