Hello,
I am currently using a scrollview in a stacklayout in a scrollview. I want the main scrollview to scroll vertical whereas the sub-scrollview should only scroll horizontal. This is my xaml for this:
<ScrollView Padding="5">
<StackLayout VerticalOptions="FillAndExpand" HorizontalOptions="Fill">
<Label Text="Title" Font="Bold, Large">
<Label.IsVisible>
<OnPlatform x:TypeArguments="x:Boolean" iOS="False" Android="False" WinPhone="True" />
</Label.IsVisible>
</Label>
<ScrollView HorizontalOptions="Fill" Orientation="Horizontal">
<StackLayout HorizontalOptions="FillAndExpand" VerticalOptions="Fill" Orientation="Horizontal" >
<Image Source="screenshot1.jpg" HeightRequest="300" />
<Image Source="screenshot2.jpg" HeightRequest="300" />
<Image Source="screenshot3.jpg" HeightRequest="300" />
<Image Source="screenshot4.jpg" HeightRequest="300" />
<Image Source="screenshot5.jpg" HeightRequest="300" />
<Image Source="screenshot6.jpg" HeightRequest="300" />
<Image Source="screenshot7.jpg" HeightRequest="300" />
</StackLayout>
</ScrollView>
<Label Text="Description" Font="Bold, Medium" />
<Label Text="Bla bla bla" />
</StackLayout>
</ScrollView>
Now this works fine, except for one thing: The second scrollview also scrolls vertical resulting in not being able to scroll the rest of the content when tapping on that part. Is there a way to disable the scrolling of a scrollview?
Thanks!