loleaflet/src/control/Control.MobileInput.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 8c11f8c85ed6404a0e3972b4b905945dc4e210ba Author: Henry Castro <hcas...@collabora.com> AuthorDate: Tue Oct 2 17:16:56 2018 -0400 Commit: Jan Holesovsky <ke...@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 <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@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(); } }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits