From 30010b569a9f218fa7f00b24d092f3a082f081b0 Mon Sep 17 00:00:00 2001 From: Ben Fiedler Date: Thu, 17 Jun 2021 17:39:36 +0200 Subject: [PATCH] Add small detail about scrolling behaviour --- content/blog/css-avoid-horizontal-scrolling.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/blog/css-avoid-horizontal-scrolling.md b/content/blog/css-avoid-horizontal-scrolling.md index 7ba3801..9d8a79a 100644 --- a/content/blog/css-avoid-horizontal-scrolling.md +++ b/content/blog/css-avoid-horizontal-scrolling.md @@ -44,6 +44,9 @@ movement to that axis. This seems like a good idea in practice, but it does not work well for small adjustments, as slight movements during the initial scroll lock the wrong axis, and there is a small cooldown time until the lock releases. +Both of these also do not prevent the user from accidentally triggering the +"back to previous site" mechanism, which is also annoying. + My conclusion is that both scrolling behaviours suck, so it's best to avoid them as much as possible. So let's fix it! Here's a bunch of tips that hopefully help you understand and prevent horizontal scrolling. I will only concern myself with -- 2.38.5