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