From d199c05e978f613d7ada313762ece36b9797a10c Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Tue, 8 Mar 2022 17:54:00 +0000 Subject: [PATCH] Suppress scroll-anchoring in the sidebar (#992) --- assets/scss/custom.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 62ae4532..b1200f94 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -41,6 +41,11 @@ Custom SCSS for the Matrix spec } /* Styles for the sidebar nav */ +.td-sidebar { + /* don't attempt to use the sidebar (or things in it) as a scroll anchor. */ + overflow-anchor: none; +} + .td-sidebar-nav { scroll-behavior: smooth; overscroll-behavior: contain;