diff --git a/src/app/utils/iosPwaViewport.ts b/src/app/utils/iosPwaViewport.ts index 9b149f1c1..b2e5c177b 100644 --- a/src/app/utils/iosPwaViewport.ts +++ b/src/app/utils/iosPwaViewport.ts @@ -31,8 +31,7 @@ export function installIosPwaViewportHeight(): void { const visibleBottom = visibleHeight + (viewport?.offsetTop ?? 0); const screenHeight = fullScreenHeight(); - const keyboardOpen = - isEditableFocused() && screenHeight - visibleHeight > MIN_KEYBOARD_HEIGHT; + const keyboardOpen = isEditableFocused() && screenHeight - visibleHeight > MIN_KEYBOARD_HEIGHT; const height = keyboardOpen ? visibleBottom : screenHeight; document.documentElement.style.setProperty(IOS_PWA_VIEWPORT_HEIGHT, `${Math.round(height)}px`);