From e53352592b37659333a3a671d6c2a8798c15731a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 17 Feb 2023 11:29:39 +0800 Subject: [PATCH] Fix scroll position got reseted by CSS --- src/app.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.css b/src/app.css index fdbb787b..5fe2293d 100644 --- a/src/app.css +++ b/src/app.css @@ -1204,7 +1204,8 @@ meter.donut:is(.danger, .explode):after { user-select: none; pointer-events: none; opacity: 0; - content-visibility: hidden; + /* This causes scrollTop to be reset to 0 when the page is hidden */ + /* content-visibility: hidden; */ } /* TAB BAR */