xamarin/Xamarin.Forms

Focused not firing keyboard

Ouverte

#4 573 ouverte le 29 nov. 2018

 (4 commentaires) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/VSMe/3 :clock3:help wantedt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

From @achrafbenalaya on November 27, 2018 13:41

In this example , the keyboard is not firing only after focusing 2 time on entry , I tried this a lot and seems there is an issue right here . <VisualState x:Name="Focused"> <VisualState.Setters> <Setter Property="FontSize" Value="36" /> <Setter Property="BackgroundColor" Value="Lime" /> </VisualState.Setters> </VisualState>

Copied from original issue: MicrosoftDocs/xamarin-docs#1180

Steps to Reproduce:

  1. Get the sample from https://developer.xamarin.com/samples/xamarin-forms/UserInterface/VsmDemos/
  2. Tap VSM on View
  3. Type something into the third box. Second box should turn green.
  4. Dismiss keyboard.
  5. Tap on second box.

Expected result

Soft keyboard appears

Actual result

Nothing. Keyboard does not appear unless you tap the second box again.

Tested on Pixel 3 XL.

Guide contributeur