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. Image for the cookie policy date
close icon

Rotator in scrollview not showing

Hello,

In a absolute layout with a Scrollview the rotator is not showing ?

When i remove the Scrollview everything is working correct and the rotator is showing.


Is this not possible to use a Scrollview and Rotator or am i doing something wrong ?


  BackgroundColor="DarkRed">
    <local:PinchToZoomContainer>
        <local:PinchToZoomContainer.Content>
            <ScrollView>
            <AbsoluteLayout >
                <Image Source="Voorkant" AbsoluteLayout.LayoutFlags="PositionProportional" />
                <BoxView Color="Wheat" AbsoluteLayout.LayoutBounds="20,190,320,380" AbsoluteLayout.LayoutFlags="None"/>
                <Label Text="Foto's Bakkerij"  AbsoluteLayout.LayoutBounds="30,140,500,30" FontSize="Large" TextColor="Gold"/>

                <Label Text="Wilt u een kijkje nemen in onze moderne bakkerij?"  AbsoluteLayout.LayoutBounds="30,200,500,30" FontSize="Small" TextColor="Black"/>
                <Label Text="Dat kan digitaal via onderstaande foto's."  AbsoluteLayout.LayoutBounds="30,220,500,30" FontSize="Small" TextColor="Black"/>
                <Label Text="Door middel van deze foto's heeft u wellicht een"  AbsoluteLayout.LayoutBounds="30,240,500,30" FontSize="Small" TextColor="Black"/>
                <Label Text="andere kijk op ons productieproces gekregen."  AbsoluteLayout.LayoutBounds="30,260,500,30" FontSize="Small" TextColor="Black"/>
                <rotator:SfRotator x:Name="rotator" AbsoluteLayout.LayoutBounds="35,300,290,210" AbsoluteLayout.LayoutFlags="None"
                                        WidthRequest="250"
                           HeightRequest="100"
                        NavigationDelay="2000" 
                        ItemsSource="{Binding ImageCollection}" 
                        SelectedIndex="2"
                        NavigationDirection="Horizontal"
                        
                        BackgroundColor="Wheat"
                        EnableAutoPlay="true"
                        EnableLooping="true"
                        NavigationStripPosition="Right"
          DotPlacement="None" 
                              DotsBorderColor="Wheat" 
                              SelectedDotColor="WhiteSmoke">
                    <rotator:SfRotator.ItemTemplate>
                        <DataTemplate>
                            <Image  Source="{Binding Image}"/>
                        </DataTemplate>
                    </rotator:SfRotator.ItemTemplate>
                </rotator:SfRotator>
            </AbsoluteLayout >
            </ScrollView>
        </local:PinchToZoomContainer.Content>
    </local:PinchToZoomContainer>
</ContentPage>

1 Reply

HM Hemalatha Marikumar Syncfusion Team November 4, 2019 10:02 AM UTC

Hi Boris, 
  
Greetings from Syncfusion, 
 
We have analyzed the reported issue, which relates to the framework issue. The reported issue is reproduced only after the Xamarin.forms version has been updated. We have already asked for a query on the Xamarin.Forms discussion page, please find the reference link.  
  
 
We will let you know once the issue has been resolved from Xamarin team.   
 
Regards, 
Hemalatha M. 


Loader.
Live Chat Icon For mobile
Up arrow icon