From what I can tell, there is minimal support for the on-screen keyboard (particularly on mobile where it’s most relevant).
Useful features:
Controlling text suggestions
Finding out the height of the keyboard
Having a listener for when the keyboard is shown and hidden
and/or providing facilities to move the viewable region around as needed in order to focus the view on the text editor.
Platform specific classes:
MBO
October 18, 2019, 8:59pm
2
Yes! That would be very helpful.
1 Like
alexoz
July 17, 2020, 12:44pm
3
@jules @ed95
finding out the height of the keyboard, respectively a call to resized would be necessary to release a useful application
2 Likes
Yep. Without this feature you’re basically dead in the water for anything text input.
5 Likes
jpo
February 24, 2021, 3:18pm
5
I am also missing this feature.
MBO
October 17, 2021, 7:57pm
6
Sorry for bumping this but is it possible to add getOnScreenKeyboardHeight()
or something similar? Or maybe it is already added but I cannot find it?
reuk
August 1, 2022, 12:38pm
7
Thanks for the suggestion. We’ve now added a ‘keyboard insets’ member to juce::Displays::Display
, which can be queried to find the area of the screen hidden by a virtual keyboard.
This should work on all supported iOS versions, but only on Android API level 30+ (Android 11).
committed 05:54PM - 29 Jul 22 UTC
We’ve also updated text input handling on iOS, so navigating with cursor keys (or with spacebar press-and-drag) should work as expected now.
committed 05:54PM - 29 Jul 22 UTC
This provides an improved user experience, allowing cursor movement
directly fro… m the keyboard.
5 Likes
ervink
September 29, 2022, 3:09pm
9
I can’t find in the library