Hacker News new | ask | show | jobs
by smolgumball 1292 days ago
Love this explainer.

One thing I noticed that often isn't caught due to platform differences is when "Hide types" is pressed, a scrollbar will appear on most browsers on Windows 10. This draws the eye so harshly that most - if not all - of the magic of the animation is ruined.

I wish that Windows 10 had an option to "hide scrollbars until necessary" like macOS does, but sadly this continues to be a bit of an edge case for FE work.

2 comments

Given Edge’s recent work on overlay scrollbars (#edge-overlay-scrollbars-win-style flag) that are still displayed at all times for any element with overflow: scroll, only slimmer, I’m not holding my breath.
So you can hide the scrollbars in CSS if you want to, but doing so is also an accessibility pipe-bomb waiting to happen: things in motion in visually impaired systems plus no scroll bars when navigating a space is hellacious.

Framer takes a slightly different approach in their docs which appears to be a mixture of pinning objects down and shoving margins around as well.