The Nabu Notebook · 3 min read · 2025
Why the reading header must learn to leave
Reading a Persian article under an always-visible sticky header is like reading a book whose publisher thought the cover should stay open over the text. What the reader wants is plain: the most pixels for the words, and a quick way back to the navigation only when it is needed.
The hide-on-scroll pattern is exactly that bargain. The header travels with the reader’s pace: while they head down the page — at the peak of focus — it slips away, and at the first motion back up — the moment they look for a way out — it returns instantly.
A header should be like a good waiter: present the moment you need it, invisible the moment you don’t.
So it never becomes twitchy, the decision carries a small tolerance: a pixel of jitter or a slow crawl does not move it. The verdict follows the clear direction of the scroll, not every wheel event.
Accessibility survives too: while anything inside the header holds focus, it refuses to hide, so a keyboard user never lands in a control they cannot see — and the share link never depends on the header being open; it sits by the title, one press away.
Try it: read a few paragraphs down until the header goes, then nudge the wheel up — it is already back.