loleaflet/html/loleaflet.html.m4 | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 8c4bff2b22e4e55c409e31f8059003395db3f240 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Thu Jan 9 14:28:31 2020 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Jan 9 13:56:19 2020 +0100 tdf#129327: Ignore all keydown events at the outermost level for iOS Possibly a good idea for Android, too? See bug report for description of what this fixes. Change-Id: I6b70f431ced09044756c2edc3fcc2542428b62e1 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86484 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4 index 7639bf908..ad6d90f4b 100644 --- a/loleaflet/html/loleaflet.html.m4 +++ b/loleaflet/html/loleaflet.html.m4 @@ -65,6 +65,10 @@ ifelse(ANDROIDAPP,[true], [ window.ThisIsTheAndroidApp = false;] ) +if (window.ThisIsTheiOSApp) { + window.addEventListener("keydown", function(e) { e.preventDefault(); }); +} + var Base64ToArrayBuffer = function(base64Str) { var binStr = atob(base64Str); var ab = new ArrayBuffer(binStr.length); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits