RFR: 8245053: Keyboard doesn't show when TextInputControl has focus [v6]
jvos at openjdk.java.net
Wed Jul 29 14:43:09 UTC 2020
On Thu, 25 Jun 2020 18:20:55 GMT, Abhinay Agarwal <github.com+3197675+abhinayagarwal at 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.
> Abhinay Agarwal has refreshed the contents of this pull request, and previous commits have been removed. The
> incremental views will show differences compared to the previous content of the PR.
Marked as reviewed by jvos (Reviewer).
More information about the openjfx-dev