[Libreoffice-commits] online.git: loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 9 19:53:42 UTC 2018
loleaflet/src/control/Control.MobileInput.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 278904ef801c14434d3040e6860a7927b3a7cd9f
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Oct 2 17:16:56 2018 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Tue Oct 9 15:52:56 2018 -0400
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