On Thu, 14 May 2020 19:22:54 GMT, Abhinay Agarwal 
<github.com+3197675+abhinayagar...@openjdk.org> wrote:

> In Android, TextInputControls (TextField and TextArea) are responsible for 
> showing and hiding software keyboard.
> Currently, a focus listener is attached to these controls and is used to 
> toggle the visibility of keyboard. This
> condition fails in cases where the control already has focus but the keyboard 
> is not visible.  Ideally, the keyboard
> should be shown again when the user taps on the TextInputControl.
> This PR adds an event handler for `MouseEvent.MOUSE_CLICKED` event and shows 
> the keyboard  if the TextInput control is
> both editable and focused.

This pull request has now been integrated.

Changeset: 5d34d724
Author:    Abhinay Agarwal <abhinay.agar...@gluonhq.com>
Committer: Johan Vos <j...@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/5d34d724
Stats:     93 lines in 2 files changed: 6 ins; 63 del; 24 mod

8245053: Keyboard doesn't show when TextInputControl has focus

Reviewed-by: jvos

-------------

PR: https://git.openjdk.java.net/jfx/pull/219

Reply via email to