Replies: 1 comment 1 reply
-
Any update? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Working on a mobile app I encountered the issue that the virtual keyboard that opens when editing a
LineEdit
blocks the user's view of the UI. It would be easy to fix this by adding a spacerControl
that takes the height ofDisplayServer.virtual_keyboard_get_height()
(/ get_window().content_scale_factor
actually) to move all content out of that zone but there is no way to be notified when the view opens. You can enable this spacer element when theLineEdit
receives focus and hide it when the focus is lost but the virtual keyboard can open and close without losing focus of the control.Therefore I think it would be good to have a signal or a notification whenever the virtual keyboard is opened or closed. Currently the
DisplayServer
handles everything regarding the virtual keyboard but servers don't send signals, I think. Alternatively the event could be emitted byLineEdit
andTextEdit
as they automatically open the keyboard.Beta Was this translation helpful? Give feedback.
All reactions