This is a migrated thread and some comments may be shown as answers.

SideDrawer bug with entry field?

2 Answers 46 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
frank
Top achievements
Rank 1
frank asked on 07 May 2017, 09:21 AM

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

2 Answers, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 10 May 2017, 10:44 AM
Hello,

This is a bug which has been fixed with our latest release. Could you please give it a try and let me know if everything works as expected?

I am looking forward to your reply.

Regards,
Ivaylo Gergov
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
0
frank
Top achievements
Rank 1
answered on 11 May 2017, 05:01 PM

Hi Ivaylo,

thanks for the information, with the latest version everything is ok !

 

Best regards,

Frank

Tags
SideDrawer
Asked by
frank
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
frank
Top achievements
Rank 1
Share this question
or