在初始页面上,表单工作正常,这意味着软键盘显示在输入控件的焦点上,但有时在我再次填写表单时浏览某些页面后。在点击进入控制时,软键盘不显示。Acr.UserDialogs "Loading" 与软键盘重叠并阻止其显示。但是我没有在这个页面中使用 Acr.UserDialogs。那么,为什么这个“正在加载”显示并且由于这个软键盘消失了。我被困住了。请在这个问题上帮助我。我使用了 Prism MVVM。请看图片
<cc:StandardEntry x:Name="houseno" Grid.Row="2"
Placeholder="{x:Static resource:AppResources.HouseNo}" BackgroundColor="White"
Text="{Binding HouseNo.Value}" FontSize="Small"
FontFamily="RegFont" Padding="12"
Keyboard="Text" BorderColor="{StaticResource GrayColor}" BorderThickness="1"
CornerRadius="8">
<Entry.Behaviors>
<behaviors:EventToCommandBehavior EventName="TextChanged" Command="{Binding ValidateHouseNoCommand}"/>
</Entry.Behaviors>
<Entry.Triggers>
<DataTrigger TargetType="Entry" Binding="{Binding HouseNo.IsValid}" Value="False">
<Setter Property="TextColor" Value="{StaticResource ErrorColor}" />
</DataTrigger>
</Entry.Triggers>
</cc:StandardEntry>
<Label Grid.Row="3" Text="{Binding HouseNo.Errors, Converter={StaticResource FirstValidationErrorConverter}}"
Style="{StaticResource ValidationErrorLabelStyle}" FontSize="Small"/>