[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 3 09:12:13 UTC 2018
loleaflet/src/control/Control.MobileInput.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 8c11f8c85ed6404a0e3972b4b905945dc4e210ba
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Oct 2 17:16:56 2018 -0400
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Wed Oct 3 11:11:54 2018 +0200
loleaflet: mobile fix after hitting back, on-screen keyboard...
"permanently" disappears
This forces to blur and focus the text area even it is focused
because there is no way to determine when the soft on-screen keyboard
disappears
Change-Id: Ib89ecc42fb795e34032564a62715463dd944c588
Reviewed-on: https://gerrit.libreoffice.org/61277
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Control.MobileInput.js b/loleaflet/src/control/Control.MobileInput.js
index 8d5f42664..f03b7ddc9 100644
--- a/loleaflet/src/control/Control.MobileInput.js
+++ b/loleaflet/src/control/Control.MobileInput.js
@@ -34,9 +34,8 @@ L.Control.MobileInput = L.Control.extend({
return;
}
- if (focus === false) {
- this._textArea.blur();
- } else {
+ this._textArea.blur();
+ if (focus !== false) {
this._textArea.focus();
}
},
More information about the Libreoffice-commits
mailing list