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

SfRotator in ScrollView allows vertical scrolling on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

145542 Jun 27,2019 07:29 AM UTC Aug 27,2019 02:32 PM UTC Xamarin.Forms 5
loading
Tags: SfRotator
Unknown
Asked On June 27, 2019 07:41 AM UTC

Hi,

we are seeing an unpleasant behavior of SfRotator in a XF-ScrollView under iOS since SyncFusion 17.1.0.48.

If you grab the rotator to scroll it horizontally, you are also able to scroll the whole page vertically.

This was neither the case with versions 17.1.0.47 and prior, nor is it the case on Android - even with current versions.

Likewise the vertically scrolling is inhibited if you have a horizontally oriented SfListView within a ScrollView.

Hence, we consider this not as intentional feature.

We used the following code snippet (MainPage.xaml) within a fresh XF project (created on Visual Studio 2019 for Mac). We tried XF 3.6 and XF 4.0, which made no difference.

<ContentPage x:Class="App.MainPage"
             xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:syncfusion="clr-namespace:Syncfusion.SfRotator.XForms;assembly=Syncfusion.SfRotator.XForms"
             mc:Ignorable="d">
    <StackLayout>
        <ScrollView>
            <StackLayout Spacing="0">

                <syncfusion:SfRotator x:Name="rotator">
                    <syncfusion:SfRotator.DataSource>

                        <syncfusion:SfRotatorItem>
                            <syncfusion:SfRotatorItem.ItemContent>
                                <BoxView Color="Red" />
                            
syncfusion:SfRotatorItem.ItemContent>
                        syncfusion:SfRotatorItem>

                        <syncfusion:SfRotatorItem>
                            <syncfusion:SfRotatorItem.ItemContent>
                                <BoxView Color="Green" />
                            
syncfusion:SfRotatorItem.ItemContent>
                        syncfusion:SfRotatorItem>

                        <syncfusion:SfRotatorItem>
                            <syncfusion:SfRotatorItem.ItemContent>
                                <BoxView Color="Blue" />
                            
syncfusion:SfRotatorItem.ItemContent>
                        syncfusion:SfRotatorItem>

                    
syncfusion:SfRotator.DataSource>
                syncfusion:SfRotator>

                <BoxView Color="Yellow" HeightRequest="1000" />

            
StackLayout>
        ScrollView>
    StackLayout>
ContentPage>

This is the behavior since 17.1.0.48.

This is the (for us desired) behavior on Android and prior iOS versions.

How does one avoid this?

Regards, Ulrich

PS.: Please excuse the lack of XML end tags, they were removed by the forum editor.

Muneesh Kumar G [Syncfusion]
Replied On June 28, 2019 11:30 AM UTC

Hi Ulrich,

We have fixed the reported issue of "Rotator allows vertical scrolling of parent while rotator item is moved". The fix will be available in our 2019 volume 2 release, which will be available on first week of July 2019.

We appreciate your patience until then.
  
Regards, 
Muneesh Kumar G.   


Unknown
Replied On July 23, 2019 10:29 AM UTC

Hi Muneesh Kumar G.,

thank you very much for addressing this in Syncfusion 17.2.

Unfortunately we are still seeing in 17.2.0.36 a different behavior between a horizontal SfListView and the SfRotator.

With SfListView the "other" scroll direction is locked as soon as you scroll in one direction. With SfRotator one could still first scroll vertically and then nevertheless scroll horizontally the rotator.

We would prefer the SfListView behavior for SfRotator too. Do you think, this is possible?

Thank you very much

Ulrich

Muneesh Kumar G [Syncfusion]
Replied On July 24, 2019 12:30 PM UTC

Hi Ulrich,

We have fixed the issue of rotator scrolling is not locked while scrolling in ScrollView. And this fix will be available in the upcoming weekly release nuget release. Which will be available on July 31st, 2019.

 
Regards,
Muneesh Kumar G.  
 
 


Bernd
Replied On August 26, 2019 02:20 PM UTC

It seems the issue has been parially resolved.

If I start to scroll horizontally vertical scrolling is locked.

But if I start scrolling vertically I the can scroll in both directions.

Will you fix this as well?

Regards
Bernd

Muneesh Kumar G [Syncfusion]
Replied On August 27, 2019 02:32 PM UTC

Hi Ulrich, 
 
Thanks for your update. 
 
We have checked reported issue at our end. But we would like to inform you that when we scroll vertically then hold with scroll the rotator horizontally, the rotator not moved in horizontally. Same happens in reverse action. We have recorded video for this and attached in below location please find video from below location. 
 
Link:  
 
Please let us know if you have any concern. 
 
Regards,  
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