SideDrawer bug with entry field?

3 posts, 0 answers
  1. frank
    frank avatar
    5 posts
    Member since:
    Feb 2017

    Posted 07 May Link to this post

    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. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    691 posts

    Posted 10 May Link to this post

    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
  3. frank
    frank avatar
    5 posts
    Member since:
    Feb 2017

    Posted 11 May in reply to Ivaylo Gergov Link to this post

    Hi Ivaylo,

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

     

    Best regards,

    Frank

Back to Top