Merge pull request #1215 from ONLYOFFICE/bugifx/Bug61098
Fix Bug 61098: android scroll on settings page
This commit is contained in:
commit
c04e40618f
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user