xamarin/Xamarin.Forms

[UWP] keyboard hide focused entry

开放

#5,840 创建于 2019年4月8日

 (1 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南