Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or just don't re-appear, and leave scrolling alone. If I want to view a header, I'll scroll to the top of the page.


Until you are on, say, YouTube, where the home key is hijacked into restarting the video...


Are you on iPhone? It's easy to scroll up on iOS (tap the top bar), but hard on Android. That might be one reason why sticky headers are popular.


No, sticky headers are popular because site owners hope for people to browse the site some more.


And people do use them.

My theory is that analytics is to blame for all of this. You can track how many people clicked the button in your share header. You can't reliably track how many people left because of it (there could be a million reasons for leaving the page).

So your analytics shows an uptick in engagement by X%, and no clearly discernable downtick. So the header stays.

All it would need is an A/B test or two, but easier said than done...


a.k.a survivorship bias




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: