3 ms·
I noticed the wonky scroll behavior, but it's debatable to call it broken. On most web pages, you can scroll the entire document by putting the cursor anywhere
by nayuki 4y ago
I noticed the wonky scroll behavior, but it's debatable to call it broken.
On most web pages, you can scroll the entire document by putting the cursor anywhere on the page.
On this web site, you can only scroll if your cursor is within the <main> element, which has a rather narrow width. So most of the page area is not scrollable. Also, the CSS hides the scrollbar so that no affordances are given.
- cyral 4y agoThe author was probably trying to make the header and sidebar sticky by doing that, there are better ways though (such as literally the position: sticky CSS property)