From 57784e7f384c078582582c639bf3f3ad7f97a2c5 Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Mon, 11 Sep 2017 21:22:38 +0300 Subject: [PATCH] css.scrollingDisabled needs width: 100vw --- src/components/PageLayout/PageLayout.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/PageLayout/PageLayout.css b/src/components/PageLayout/PageLayout.css index f30b70bf..565992f6 100644 --- a/src/components/PageLayout/PageLayout.css +++ b/src/components/PageLayout/PageLayout.css @@ -12,7 +12,9 @@ } .scrollingDisabled { + /* position: fixed and width are added to prevent iOS from scrolling content */ + position: fixed; + width: 100vw; height: 100vh; overflow: hidden; - position: fixed; }