-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] CarouselView pushes other layouts and consumes all space #8640
Comments
Confirmed that this is happening. Tried a couple of different things to make it size to content, but it seems to always take the full available height. Happens on Android. On iOS is NREs altogether, stack trace is below. Not sure it it's related to this though. iOS error seems more of an Shell issue
|
@rmarinho |
After talking with @ez I think this a issue we need to look also with CollectionView , we will see how to fix this. |
As a work-around it works if you put it into a stacklayout |
Also waiting for this one. :) |
It seems like Xamarin.Forms 5.0 only made this worse? The previous workarounds weren't exactly reliable before, but now they seem to be entirely unusable. What's more, there seems to be a new warning coming from iOS when using CarouselView (only when using the workarounds mentioned before):
|
Is it ever going to be fixed. Why is XF so buggy??? |
@bikrambhandari48 There are currently a lot of open issues. The fact that XF has become more an more complex and the transition over to .NET MAUI does probably not speed up things. However, the communication could be improved drastically: What is the current state of the issue? Is anyone actively working on it? By when (estimate) can we expect a solution? 🤷🏼♂️ |
having same issue. cant believe not fixed. wow. |
@Painwraith i switch to CardView instead |
Any news? This issue is 1,5 years old 😢 |
The fact that CarouselView is literally unusable has led a lot of other groups to design their own replacements. So far I've seen
|
[EDIT] To anyone reading this, do yourself a favor and just don't use CarouselView at all. After spending another 3 hours trying to get it to work, and running into no less than three more CRITICAL bugs (Example), I installed CardView and had a working control in 5 minutes. (original post) @Dids I was able to get the workaround by @thomasgalliker working in the latest Xamarin by calling Example: MyControl.xaml
MyControl.xaml.cs
Then you have the fun job of making sure to set |
@PureWeen any update on this issue? |
Looks like this issue is back with the CarouselView in XF 5 SDK. I am also stuck with the carousel view taking up a lot of space of the content in iOS and can't load the entire page properly. Please fix this. |
XF carousel control also has accessibility issues. When scrolling with the screenreader on android it jumps to carousel panels that are not visible to the user and the layout gets all jumbled up. I'm using CardView now and accessibility issues were fixed in this commit - AndreiMisiukevich/CardView@c46b6c9 |
Any update on this issue ? @jfversluis @rmarinho @jsuarezruiz @PureWeen |
no solution? |
Description
CarouselView is consuming all vertical space in my layout, unless I give it a size. But I don't know the height to give it b/c I want it to size to my content. Please let me size to my content, either the height or the width perhaps?
Expected Behavior
CarouselView sizes to my content and provides a consistent layout across different screen sizes.
Actual Behavior
CarouselView consumes ALL space in the layout, even pushing other layouts out of view. I have to set a height to achieve the results I want on this screen, but it will look wrong on other sizes screens.
Basic Information
Screenshots
All consuming height:
Fixed height (guessing):
Reproduction Link
https://github.com/davidortinau/CarouselGallery/blob/master/CarouselGallery/CarouselGallery/Views/REIPage.xaml
The text was updated successfully, but these errors were encountered: