~bfiedler/website

30010b569a9f218fa7f00b24d092f3a082f081b0 — Ben Fiedler a month ago c65ef4e
Add small detail about scrolling behaviour
1 files changed, 3 insertions(+), 0 deletions(-)

M content/blog/css-avoid-horizontal-scrolling.md
M content/blog/css-avoid-horizontal-scrolling.md => content/blog/css-avoid-horizontal-scrolling.md +3 -0
@@ 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