From e0b723bdb01bef9b4357abc3aad70cef9b1b1167 Mon Sep 17 00:00:00 2001 From: Oleg Korshul Date: Tue, 2 Apr 2019 17:15:07 +0300 Subject: [PATCH] Prevent android reload page on scrolling --- apps/api/documents/api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 1f5b55412..f55f792bd 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -735,7 +735,8 @@ if (config.type == "mobile") { iframe.style.position = "fixed"; - iframe.style.overflow = "hidden"; + iframe.style.overflow = "hidden"; + document.body.style.overscrollBehaviorY = "contain"; } return iframe; }