Skip to content

qml: close keyboard when tapping on ElDialog background - #10941

Open
f321x wants to merge 1 commit into
spesmilo:masterfrom
f321x:qml_close_keyboard
Open

qml: close keyboard when tapping on ElDialog background#10941
f321x wants to merge 1 commit into
spesmilo:masterfrom
f321x:qml_close_keyboard

Conversation

@f321x

@f321x f321x commented Sep 7, 2026

Copy link
Copy Markdown
Member

When showing the keyboard over an ElDialog (e.g. when entering a comment into the lnurlpay dialog) it can only be closed using the android back button or the little "hide keyboard" button in the os system bar.
Instead it is nicer if it is also possible to close the keyboard by clicking on some empty area of the dialog.
Tested on Pixel 9.

@f321x f321x added the gui-qml label Sep 7, 2026
@f321x
f321x marked this pull request as draft September 7, 2026 15:43
@f321x
f321x force-pushed the qml_close_keyboard branch 3 times, most recently from 17d140c to 8bc50c0 Compare September 8, 2026 08:31
@f321x
f321x marked this pull request as ready for review September 8, 2026 08:31
When showing the keyboard over an ElDialog (e.g. when entering a
comment into the lnurlpay dialog) it can only be closed using the
android back button or the little "hide keyboard" button in the
os system bar. Instead it is nicer if it is also possible to close
the keyboard by clicking on some empty area of the dialog.

Keep focus on contentItem so the wizards back button hook keeps
working.
@f321x
f321x force-pushed the qml_close_keyboard branch from 8bc50c0 to c1743d3 Compare September 8, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant