We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7436aa commit 0ab9247Copy full SHA for 0ab9247
live-view/extensions/mobile-console/console-sheet.js
@@ -670,10 +670,6 @@ class ConsoleSheet {
670
671
navigator.virtualKeyboard.overlaysContent = true;
672
673
- const keyboardHeight = navigator.virtualKeyboard.boundingRect.height;
674
-
675
- body.style.setProperty('--keyboard-height', keyboardHeight + 'px');
676
677
});
678
679
input.on('blur', () => {
@@ -689,6 +685,8 @@ class ConsoleSheet {
689
685
690
686
const keyboardHeight = navigator.virtualKeyboard.boundingRect.height;
691
687
688
+ body.style.setProperty('--keyboard-height', keyboardHeight + 'px');
+
692
if (document.activeElement === input &&
693
keyboardHeight === 0) {
694
0 commit comments