Skip to content

Commit 65c9729

Browse files
committed
Update console-sheet.js
1 parent 9c48fcb commit 65c9729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

live-view/extensions/mobile-console/console-sheet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ class ConsoleSheet {
696696
if (document.activeElement === input &&
697697
keyboardHeight === 0) {
698698

699-
window.setTimeout(() => {
699+
onNextFrame(() => {
700700

701701
keyboardHeight = navigator.virtualKeyboard.boundingRect.height;
702702

@@ -707,7 +707,7 @@ class ConsoleSheet {
707707

708708
}
709709

710-
}, 200);
710+
});
711711

712712
}
713713

0 commit comments

Comments
 (0)