xamarin/Xamarin.Forms

[UWP] keyboard hide focused entry

Aperta

#5840 aperta il 8 apr 2019

 (1 commento) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When I tap an entry places and the bottom of the page, when the keyboard appears, it hides the entry

Steps to Reproduce

with the following xaml:

 <ContentPage>
        <Grid VerticalOptions="Fill"
              HorizontalOptions="Center">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <StackLayout Grid.Row="0"
                         Orientation="Vertical">
                <Label  Text="Fields group 1"/>
                <Entry  Placeholder="Field 1" />
                <Entry  Placeholder="Field 2" />
            </StackLayout>
            <StackLayout Grid.Row="1"
                         Orientation="Vertical">
                <Label  Text="Fields group 2"/>
                <Entry  Placeholder="Field 1" />
                <Entry  Placeholder="Field 2" />
            </StackLayout>
            <StackLayout Grid.Row="2"
                         Orientation="Vertical">
                <Label  Text="Fields group 3"/>
                <Entry  Placeholder="Field 1" />
                <Entry  Placeholder="Field 2" />
            </StackLayout>
        </Grid>
    </ContentPage>

If we tap in "fields group 3", "field 2", the keyboard will appear and hide the entry.

Expected Behavior

The content to be moved to always see the focused entry

Actual Behavior

the entry stays hidden

Basic Information

  • Version with issue: 4.0.0.304370-pre8

  • IDE: Visual Studio Community 2017 15.9.10

  • Platform Target Frameworks:

    • UWP: Windows 10 version 1803 Build 17134

Guida contributor