Prevent android reload page on scrolling
This commit is contained in:
parent
d55d9ce95f
commit
e0b723bdb0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue