Revert "fix(mobile): viewport size on keyboard focus (#1925)"

This reverts commit e0b75946f6.
This commit is contained in:
Mo
2022-11-01 14:06:06 -05:00
parent e0b75946f6
commit d3f04451af
2 changed files with 15 additions and 5 deletions

View File

@@ -60,6 +60,7 @@ const startApplication: StartApplication = async function startApplication(
const setupViewportHeightListeners = () => {
if (!isDesktop) {
setViewportHeightWithFallback()
window.addEventListener('orientationchange', setViewportHeightWithFallback)
window.addEventListener('resize', setViewportHeightWithFallback)
}