Prevent android reload page on scrolling

This commit is contained in:
Oleg Korshul 2019-04-02 17:15:07 +03:00
parent d55d9ce95f
commit e0b723bdb0

View file

@ -735,7 +735,8 @@
if (config.type == "mobile") if (config.type == "mobile")
{ {
iframe.style.position = "fixed"; iframe.style.position = "fixed";
iframe.style.overflow = "hidden"; iframe.style.overflow = "hidden";
document.body.style.overscrollBehaviorY = "contain";
} }
return iframe; return iframe;
} }