Fix bug: the site header shifts if you open the keyboard on an android phone
This commit is contained in:
parent
be08c35421
commit
11e4595939
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user