- Home
- Forum
- Xamarin.Forms
- SfRotator in ScrollView allows vertical scrolling on iOS
SfRotator in ScrollView allows vertical scrolling on iOS
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>
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>
How does one avoid this?
Regards, Ulrich
PS.: Please excuse the lack of XML end tags, they were removed by the forum editor.
SIGN IN To post a reply.
5 Replies
MK
Muneesh Kumar G
Syncfusion Team
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.
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.
UN
Unknown
Syncfusion Team
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
MK
Muneesh Kumar G
Syncfusion Team
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.
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.
Muneesh Kumar G.
BE
Bernd
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
MK
Muneesh Kumar G
Syncfusion Team
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:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorScrolling.mov721797955.zip
Please let us know if you have any concern.
Regards,
Muneesh Kumar G
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
UN Unknown
- Jun 27, 2019 07:29 AM UTC
- Aug 27, 2019 02:32 PM UTC