We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Label inside SfCarousel won't scroll

Thread ID:

Created:

Updated:

Platform:

Replies:

144965 May 30,2019 04:04 PM UTC Jun 7,2019 01:13 PM UTC Xamarin.Forms 4
loading
Tags: SfCarousel
Aviad Katani
Asked On May 30, 2019 04:04 PM UTC

Hey there,
What I'm trying to do is make SfCarousel look like that: 

What I did was creating a Label inside ScrollView, then creating a Frame with Black BorderColor to achieve the aesthetics. 
The SfCarousel is inside a Grid row with "*" Row Height Definition (with 2 other rows of 60)
C#:
SfCarousel carousel = new SfCarousel() { ViewMode = ViewMode.Linear};
            ObservableCollection<SfCarouselItem> collectionOfItems = new ObservableCollection<SfCarouselItem>();
            Frame frame = new Frame() { BackgroundColor = Color.Transparent, BorderColor = Color.Black, HorizontalOptions = LayoutOptions.CenterAndExpand,
            VerticalOptions = LayoutOptions.CenterAndExpand, Padding = new Thickness(10)};
            Label label = new Label { Text = getCurrentStageString(), TextColor = Color.Black, HorizontalOptions = LayoutOptions.CenterAndExpand,
                VerticalOptions = LayoutOptions.CenterAndExpand, WidthRequest = 220 };
            ScrollView scrollView = new ScrollView() { Content = label, HorizontalOptions = LayoutOptions.FillAndExpand, VerticalOptions = LayoutOptions.FillAndExpand};
            scrollView.Content = label;
            frame.Content = scrollView;
            frame.BorderColor = Color.Black;
            collectionOfItems.Add(new SfCarouselItem() { ItemContent = frame});
            collectionOfItems.Add(new SfCarouselItem() { ImageName = "usflag.png" });
            carousel.ItemsSource = collectionOfItems;
            MainLayout.Children.Add(carousel, 0, 0);
            Grid.SetColumnSpan(carousel, 3);
            this.Content = MainLayout;

XAML:
    <Grid
        x:Name="MainLayout"
        Padding="30,5,30,5"
        HorizontalOptions="FillAndExpand"
        RowSpacing="5"
        VerticalOptions="FillAndExpand">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="60" />
            <RowDefinition Height="60" />
        </Grid.RowDefinitions>

Current situation is that Label won't scroll, Border top and bottom lines aren't visible at all...
GIF:


Aviad Katani
Replied On June 1, 2019 02:47 PM UTC

Anything guys? I'm pretty stuck here

Muneesh Kumar G [Syncfusion]
Replied On June 3, 2019 07:04 AM UTC

Hi Aviad, 
 
Greetings from Syncfusion.  
 
Currently we are validating this. We will update you the status of this on or before 4 PM IST tomorrow June 4th, 2019. We appreciate your patience until then.   
 
Regards,
Muneesh Kumar G. 
 


Muneesh Kumar G [Syncfusion]
Replied On June 4, 2019 02:16 PM UTC

Hi Aviad,  
  
We were able to reproduce the reported problem at our end. Currently we are checking the root cause of this problem. We will update you the status of this on or before 4 PM IST June 7th, 2019. We appreciate your patience until then.    
  
Regards,
Muneesh Kumar G.  
 


Muneesh Kumar G [Syncfusion]
Replied On June 7, 2019 01:13 PM UTC

Hi Aviad, 
 
Thanks for your patience,  
 
Query 1: Vertical scrolling not working properly in linear view mode[Android]
 
We have checked the reported issue and we were able to reproduce it from our side in the Android platform. We have logged bug report for same. In SfCarousel, we have used Leanback HorizontalGridView widget for linear view mode. Currently, we are facing some difficulties in fixing this issue.
 
 
 
We will include this fix in Vol 2 SP 1 release, which will be available on end July 2019.  
 
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal. 
 
Thanks, 
Muneesh Kumar G   


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon