diff --git a/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/ios-host.js b/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/ios-host.js index 554e55e117..209eb19094 100644 --- a/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/ios-host.js +++ b/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/ios-host.js @@ -29,6 +29,12 @@ sentryManager.init(); window.addEventListener('load', init, false); function init() { + // As of iOS 15, Safari WebViews will try to avoid letting us use the "safe area" + // at the bottom of iPhone X style devices. While `-webkit-fill-available` will partly + // counteract this... it's only a "partly". Fortunately, we can manually force the + // page to our desired size. + document.body.style.height = window.outerHeight; + var kmw=window['keyman']; // We could convert to relying on the promise, but the underlying input element // tends to show a bit due to the delay when we do so. diff --git a/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/keyboard.html b/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/keyboard.html index c4a29c7c47..7f03e7c2a1 100644 --- a/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/keyboard.html +++ b/ios/engine/KMEI/KeymanEngine/resources/Keyman.bundle/Contents/Resources/keyboard.html @@ -10,7 +10,7 @@ body {background-color: rgb(210,214,220);} - +