fix: window size on mobile (#1600)
This commit is contained in:
@@ -66,7 +66,10 @@ const startApplication: StartApplication = async function startApplication(
|
|||||||
root = createRoot(appendedRootNode)
|
root = createRoot(appendedRootNode)
|
||||||
|
|
||||||
disableIosTextFieldZoom()
|
disableIosTextFieldZoom()
|
||||||
document.documentElement.style.setProperty('--viewport-height', `${window.innerHeight}px`)
|
document.documentElement.style.setProperty(
|
||||||
|
'--viewport-height',
|
||||||
|
`${visualViewport ? visualViewport.height : window.innerHeight}px`,
|
||||||
|
)
|
||||||
|
|
||||||
root.render(
|
root.render(
|
||||||
<ApplicationGroupView
|
<ApplicationGroupView
|
||||||
|
|||||||
Reference in New Issue
Block a user