From 8742cfa16ee16f2b915e3f6341d669fd1006578f Mon Sep 17 00:00:00 2001 From: Elvin Chu Date: Fri, 21 Jun 2024 14:38:06 +0800 Subject: [PATCH] feat: prevent "bounce" effects overflow behavior on IOS overscroll-behavior-y: none; prevents the browser's default overscroll behavior on the y-axis (no "bounce" effects on IOS) , see: https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior --- dist/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.html b/dist/index.html index 84ad73a..3fd032e 100644 --- a/dist/index.html +++ b/dist/index.html @@ -22,6 +22,7 @@ bottom: 0; overflow-x: hidden; overflow-y: auto; + overscroll-behavior-y: none; background: red; } @@ -57,4 +58,4 @@ })(); - \ No newline at end of file +