From c1d32de6026a51743a5288fb51b95d7d2304b1bc Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 5 Apr 2021 13:11:24 +0200 Subject: [PATCH] Update kitchen sink app.css to prevent iOS overscroll/bounce Solve this issue: https://github.com/framework7io/framework7-website/issues/491 --- kitchen-sink/core/css/app.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kitchen-sink/core/css/app.css b/kitchen-sink/core/css/app.css index 6dcfc7b7d5..4f7ef283f8 100644 --- a/kitchen-sink/core/css/app.css +++ b/kitchen-sink/core/css/app.css @@ -11,6 +11,13 @@ url(../fonts/MaterialIcons-Regular.ttf) format('truetype'); } +html, +body { + /* prevent ios overscroll/bounce: https://github.com/framework7io/framework7-website/issues/491 */ + position: fixed; + overflow: hidden; +} + .material-icons { font-family: 'Material Icons'; font-weight: normal;