Hi,
it looks as if the sidedrawer opens unexpectedly, when there is a simple entry field in the main content.
Please have a look at this sample ( i copied it from the SDKBrowser samples and added just the entry field):
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Portable.SDTest">
<!-- >> sidedrawer-gettingstarted-xaml -->
<telerikPrimitives:RadSideDrawer x:Name="drawer" DrawerLength="200">
<telerikPrimitives:RadSideDrawer.MainContent>
<StackLayout>
<Label Text="Main content" />
<Entry Placeholder="Enter some text + press ENTER" />
</StackLayout>
</telerikPrimitives:RadSideDrawer.MainContent>
<telerikPrimitives:RadSideDrawer.DrawerContent>
<StackLayout>
<Button Text="Mail" />
<Button Text="Calendar" />
<Button Text="People" />
<Button Text="Tasks" />
</StackLayout>
</telerikPrimitives:RadSideDrawer.DrawerContent>
</telerikPrimitives:RadSideDrawer>
<!-- << sidedrawer-gettingstarted-xaml -->
</ContentPage>
The codebehind file is empty:
namespace Portable
{
public partial class SDTest : ContentPage
{
public SDTest()
{
InitializeComponent();
}
}
}
When you test this page you will see, that the drawer opens after press ENTER in the entry field.
Can you explain why this is happening? It would be great to find a workarround because this is very annoying for the user.
Best regards,
Frank Fink