Fix bug: the site header shifts if you open the keyboard on an android phone

This commit is contained in:
Alexey Safronov 2022-06-29 17:16:09 +03:00
parent be08c35421
commit 11e4595939

View File

@ -79,7 +79,7 @@ const Layout = (props) => {
}, [isBannerVisible]);
useEffect(() => {
if (isIOS && isMobileOnly) {
if (isMobileOnly) {
const htmlEl = document.getElementsByTagName("html")[0];
const bodyEl = document.getElementsByTagName("body")[0];