Page scrolling not working for UWP

2 posts, 0 answers
  1. Joan
    Joan avatar
    3 posts
    Member since:
    Aug 2016

    Posted 02 Mar Link to this post

    Hi telerik,

    I have a Xamarin cross-platform solution with Android, iOS and UWP projects. I'm trying to put a SideDrawer on an application page which has a ScrollView, like this:

    01.<telerikPrimitives:RadSideDrawer x:Name="drawer" DrawerLength="250" BackgroundColor="{x:Static helpers:AppColors.AppColor50}">
    02.    <telerikPrimitives:RadSideDrawer.MainContent>
    03. 
    04.      <AbsoluteLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand">
    05. 
    06.        <Image Source="BG.png" AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
    07.                AbsoluteLayout.LayoutFlags="All" Aspect="AspectFill"
    08.                Opacity="{x:Static helpers:AppColors.ScreenBackgroundOpacity}"/>
    09. 
    10.        <ScrollView AbsoluteLayout.LayoutBounds="0, 0, 1, 1" VerticalOptions="FillAndExpand"
    11.AbsoluteLayout.LayoutFlags="All" >
    12. 
    13.          <StackLayout x:Name="mainStack" VerticalOptions="FillAndExpand" Spacing="0">
    14. 
    15.            <Button BackgroundColor="Red" HeightRequest="100" Text="1"></Button>
    16.            <Button BackgroundColor="Red" HeightRequest="100" Text="2"></Button>
    17.            <Button BackgroundColor="Red" HeightRequest="100" Text="3"></Button>
    18.            <Button BackgroundColor="Red" HeightRequest="100" Text="4"></Button>
    19. 
    20.          </StackLayout>
    21.        </ScrollView>
    22. 
    23.      </AbsoluteLayout>
    24. 
    25.    </telerikPrimitives:RadSideDrawer.MainContent>
    26.  </telerikPrimitives:RadSideDrawer>

     

    On Android and iOS this works fine, but on UWP i realised that if the amount of data to show on the ScrollView fits the screen in Portrait mode, when you switch to Landscape mode the page doesn't scroll if the data shown doesn't fit the screen.

     

    Thanks

     

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1236 posts

    Posted 07 Mar Link to this post

    Hello Joan,

    Thank you for contacting us on this matter. We confirm the reported behavior is caused by bug in the RadSideDrawer component. We have already logged it in our backlog system. For your convenience I exposed this FeedbackItem so that you can follow it and give your vote for it. This will help us evaluate the impact of the issue and its demand.

    At the moment of writing we are not aware of any workaround that you can take advantage of. Please accept our apology for the inconvenience caused.

    Regards,
    Pavel R. Pavlov
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top