Merge pull request #1215 from ONLYOFFICE/bugifx/Bug61098

Fix Bug 61098: android scroll on settings page
This commit is contained in:
Alexey Safronov 2023-02-16 13:53:31 +03:00 committed by GitHub
commit c04e40618f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ import {
isMobileOnly,
isChrome,
isTablet,
isAndroid,
} from "react-device-detect";
import { inject, observer } from "mobx-react";
@ -130,6 +131,10 @@ const Layout = (props) => {
}
}
if (isMobileOnly && isAndroid && isChrome) {
height = `calc(100vh - ${correctorMobileChrome}px)`;
}
// if (isTablet && isIOS && isSafari) {
// if (
// window.innerHeight < window.innerWidth &&