I noticed that if I use the RadSlideView in a Maui project running on Android the panning gestures do not work when in a frame control. It works fine on a windows machine but does nothing in Android.
Here's the view that i'm using which i modified from the SDKBrowserMaui:
I realize I can get it to work by adding a GestureRecognizer in the frame but it took a while to figure out what was going wrong.
Here's the view that i'm using which i modified from the SDKBrowserMaui:
<?xml version="1.0" encoding="utf-8" ?>
<telerik:RadContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
x:Class="SDKBrowserMaui.Examples.SlideViewControl.FeaturesCategory.InteractionModeExample.InteractionMode"
Margin="5">
<Grid>
<!-- >> slideview-interaction-xaml -->
<telerik:RadSlideView x:Name="slideView"
ItemsSource="{Binding Views}"
InteractionMode="Pan">
<telerik:RadSlideView.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Label Grid.Row="0" Text="{Binding Content}" HorizontalTextAlignment="Center" Margin="20"></Label>
<Frame Grid.Row="1" Background="LightGray" CornerRadius="15" Margin="15">
<!--<Frame.GestureRecognizers>
<SwipeGestureRecognizer Direction="Left,Right" Swiped="SwipeGestureRecognizer_OnSwiped"></SwipeGestureRecognizer>
</Frame.GestureRecognizers>-->
<telerik:RadButton Text="Button in Frame"
TextColor="#007ACC"
VerticalOptions="Center"/>
</Frame>
<telerik:RadButton Grid.Row="2" Text="Button in Grid"
TextColor="#007ACC"
VerticalOptions="Center"/>
</Grid>
</DataTemplate>
</telerik:RadSlideView.ItemTemplate>
</telerik:RadSlideView>
<!-- << slideview-interaction-xaml -->
</Grid>
</telerik:RadContentView>
I realize I can get it to work by adding a GestureRecognizer in the frame but it took a while to figure out what was going wrong.