News for hackers. Stuff that matters.
Re:Death to Scroll Fade by Night_Thastus on Wednesday March 18, 2026 @01:51PM (#47428938)
Something else scroll-related I personally hate:

Sticky 'headers' that disappear when you scroll down, and appear when you scroll up. I hate them so much. It hurts my brain to see the stupid thing appear and disappear constantly if I scroll around a page.

The worst part is you can't even zap them out of the way with something like uBlock, because then there's no header even when you're at the top of the page. >:(

EDIT: Whoops, flipped the directions. Complaint still stands though.

Re:Death to Scroll Fade by lebuin on Wednesday March 18, 2026 @02:17PM (#47429306)
God yes. For some reason, I automatically scroll in such a way that I always keep what I'm reading at the very top of the screen. Which means that every time I want to reread a sentence I first have to scroll past the header.
Re:Death to Scroll Fade by gibspaulding on Wednesday March 18, 2026 @02:46PM (#47429756)
This only really works easily on desktop and requires a click, but is very satisfying to use:

https://alisdair.mcdiarmid.org/kill-sticky-headers/

Re:Death to Scroll Fade by vmg12 on Wednesday March 18, 2026 @02:16PM (#47429288)
Also if anything it should disappear when scrolling down and appear when scrolling up.
Re:Death to Scroll Fade by hbn on Wednesday March 18, 2026 @04:54PM (#47431327)
That's how they work. It's what the GP said.
Re:Death to Scroll Fade by Night_Thastus on Wednesday March 18, 2026 @08:16PM (#47433068)
I accidentally had it flipped backwards in the original comment, and edited it to fix that. So the person you're responding to was right at the time.
Re:Death to Scroll Fade by adito on Wednesday March 18, 2026 @01:59PM (#47429050)
Oh. This. Tho I solved that with userstyles.
Re:Death to Scroll Fade by Griffinsauce on Wednesday March 18, 2026 @02:08PM (#47429173)
Joke's on you, we implement all animations in JS
Re:Death to Scroll Fade by kreyenborgi on Wednesday March 18, 2026 @03:24PM (#47430285)
Oh god yes I absolutely hate those. Who on earth thought that was a good idea.

There is a special circle in hell where designers of such sites have to actually use the sites they design.

Re:Death to Scroll Fade by dylan604 on Wednesday March 18, 2026 @04:07PM (#47430770)
someone designing for mobile first and wanted to maximize screen space. we don't have to be obtuse about it. it was an idea that just didn't go over as well as hoped. clearly, some people like it. it's not your cup of tea, great. now, we all know your feelings. next time i build a site, i'll be sure to get your opinions first.
Re:Death to Scroll Fade by toss1 on Wednesday March 18, 2026 @04:25PM (#47430982)
Even on mobile, where I most frequently encounter it, it really stinks. I don't know where you found any personality who actually likes it, outside of your own head.

If you really must show me the content of the header because in your judgement I can _NOT_ be left alone to read the article I opened instead of your critical header info, show me first and once, and let me access it again off the hamburger menu if it's that damn important.

If you know so much about how people actually use the web, you would also know that they almost NEVER actually see or read what is in those damn drop-down or pop-up headers/footers.

Dead serious, you could monitor me, and 10sec after I dealt with one of those headers, offer me a million dollars to tell you what was in it, and if I didn't you'd shoot me, you'd shoot me 999 times out of 1000. I may be a bit better self-trained for ad-blindness than many, but I know I'm nowhere near unique.

Whoever is selling them to the advertisers is defrauding them.

>>next time i build a site, i'll be sure to get your opinions first.

Seriously, with that attitude, it is obvious you think you are so much better than every reader that you do not need to check their opinion. And it is even more obvious the opinion that needs to be held in check is yours.

Re:Death to Scroll Fade by dylan604 on Wednesday March 18, 2026 @08:52PM (#47433367)
> I don't know where you found any personality who actually likes it, outside of your own head.

That's probably because I don't like it myself. You thinking I did like it is something in your head.

As a developer, I can understand why it was created. Sometimes, ideas sound good as a concept, but you really don't know if it is or not until it's actually done. I find this much less annoying than sites that hijack the scroll bar to do their own cool scrolling. For somethings, it's neat. Kind of like some Flash sites did some cool things. It's the ones that try to be like the cool thing but have a totally different site where it just doesn't fit. Those are the really annoying sites. I don't like a lot of the way lots of other developers have implemented things. I just make a note of something I found annoying, and avoid doing that thing on my projects. I'm only able to do things I'm in control of, and try hard to recognize when it's not in my control and just move along. I don't let it ruin my day.

Re:Death to Scroll Fade by gopher_space on Wednesday March 18, 2026 @04:49PM (#47431266)
This kind of malaise is why everything feels mobile-only now.
Re:Death to Scroll Fade by kreyenborgi on Wednesday March 18, 2026 @05:42PM (#47431785)
> maximize screen space

But it's not maximizing it, that's the whole problem. It keeps coming back and blocking the line I'm reading. If they actually wanted to maximize screen space, it is trivial to just leave the top bar at the top of the page and not make it reappear when I scroll slightly back, no js/css needed.

Re:Death to Scroll Fade by dylan604 on Wednesday March 18, 2026 @08:46PM (#47433320)
It's not that hard of a concept to understand is it? You scroll down to read content so it disappears to maximize screen. If you start to scroll up, there's a pretty decent chance you might be wanting to go back to the top. If so, here's a shortcut. If not, then yeah it's annoying so you scroll up a bit and then scroll down again to make it go away. It's not the worst idea. It's not something everyone likes. I'm not exactly a fan, yet I'm not so distressed by it as others like yourself. It's less annoying than liquid glass to me.

Others have tried saving undoing scroll to the top with buttons that appear in the margins with "Back To Top" labels. Is it better? worse? It's just another idea. Scrolling all the way back to the top for site navigation on longer pages is annoying. Nothings perfect.

You cannot please all people all the time.

Re:Death to Scroll Fade by cowpig on Wednesday March 18, 2026 @02:15PM (#47429276)
Interesting, I find sticky headers to be the bane of my existence, and the ones that disappear but reappear on scroll up are a lesser evil
Re:Death to Scroll Fade by m463 on Wednesday March 18, 2026 @03:08PM (#47430090)
same thing intersects with ios safari when it hides top and bottom tool bars, hate that too.

and with the website doing the same thing, it's a mess.

Re:Death to Scroll Fade by adventured on Wednesday March 18, 2026 @01:53PM (#47428981)
Screen real-estate for legitimate content is often at a premium and then they go and steal some of that land with sticky headers and or footers. I occasionally run across mobile sites that use both at the same time, while throwing in ads here and there, it's an atrocious experience.
Re:Death to Scroll Fade by tylervigen on Wednesday March 18, 2026 @01:56PM (#47429014)
Yes but then I think they should leave the header at the top of the page. If I need it I'll scroll all the way back up! Don't make it randomly re-appear and cover the text I wanted to see because I decided to re-read that last paragraph.
Re:Death to Scroll Fade by swiftcoder on Wednesday March 18, 2026 @02:15PM (#47429282)
Especially since mobile browsers typically have a shortcut for scroll-all-the-way-to-the-top
Re:Death to Scroll Fade by Illniyar on Wednesday March 18, 2026 @02:21PM (#47429360)
This is literally the best ux pattern you can have. It is intuitive - user immediately discovers it when performing the obvious action, it increases the user experience (more text to read) without any real downside.

It is the first thing I suggest to anyone when I see someone didn't implement it.

I've never heard a complaint about it until now.

Re:Death to Scroll Fade by zimzam on Wednesday March 18, 2026 @02:55PM (#47429898)
This is only true if you assume users always scroll down while reading and the only reason they scroll up is to find the header... but many of us scroll up and down while reading and find the re-appearance of the header to interfere with our goal of reading the content. So there is a clear downside for us "up and down" readers.

I don't know what portion of users we are though, I'm glad to see I'm not the only one!

Re:Death to Scroll Fade by nativeit on Wednesday March 18, 2026 @02:34PM (#47429588)
I consider it context-dependent. If a site is intended for users to jump around to different pages often, then sticky headers make sense. If it’s designed for long-form articles or scrolling through feeds, then non-sticky headers make sense. When I have implemented them on my own sites, I try to keep them minimal and unobtrusive. But I also have never heard this complaint specifically, until now.
Re:Death to Scroll Fade by orthoxerox on Wednesday March 18, 2026 @04:06PM (#47430757)
It might be useful if you wait until the user has scrolled more than 20% of the viewport and not pop it out immediately.
Re:Death to Scroll Fade by HerbManic on Wednesday March 18, 2026 @02:44PM (#47429725)
The user discovers it because it is practically forced on them. It is awful UI.
Re:Death to Scroll Fade by Illniyar on Wednesday March 18, 2026 @02:50PM (#47429821)
When a user wants to return to the navigation bar at the top he scrolls up. The navigation bar then immediately gets nearer.

The user discovery happens because the act he performs provides the exact intent you need to give him the shortcut.

Also for clarity this is only relevant for content based sites and not apps. It is vanishingly rare for users to scroll up when reading content unless they want to reach the top

Re:Death to Scroll Fade by Night_Thastus on Wednesday March 18, 2026 @03:44PM (#47430498)
>It is vanishingly rare for users to scroll up when reading content unless they want to reach the top

This assumption is the problem. No, it is not rare for users to scroll up while reading. People are not perfect machines that read everything in one pass and understand it fully.

They may go back to re-read, or look at an earlier image or figure in the text, or otherwise. Sometimes people zone out for a minute and find they 'read' with their eyes but didn't actually take in the content. That requires going back.

For me, scrolling up to re-read is a basic use case of a web page. If it can't do that properly, it has failed.

Re:Death to Scroll Fade by oe on Wednesday March 18, 2026 @03:10PM (#47430116)
That’s not why user scrolls up, or at least not the only reason. For example, reading this discussion I constantly scroll up and down to center the text on screen.

If the header only appears after scrolling up for a bit then it’s not so bad, but most implementations show the header after scrolling 1px up. That’s infuriating.

Re:Death to Scroll Fade by SetTheorist on Wednesday March 18, 2026 @05:46PM (#47431825)
On what basis do you make the claim that "It is vanishingly rare for users to scroll up when reading content unless they want to reach the top"?

If I were to judge from the comments here (and my own behaviours) it is quite common for users to scroll up when reading content for other reasons that wanting to "reach the top".

Re:Death to Scroll Fade by matheusmoreira on Wednesday March 18, 2026 @07:31PM (#47432705)
> When a user wants to return to the navigation bar at the top he scrolls up.

Users also scroll up when they want to read text that's not visible anymore.

> The navigation bar then immediately gets nearer.

And then it blocks the text the user was trying to read.

Re:Death to Scroll Fade by RugnirViking on Thursday March 19, 2026 @05:48AM (#47436934)
no. Scroll already does that. The header can stay where it is. The most intuitive thing you can do is have the content scroll in the direction the user asked for, when they asked for it.

If they want to go up to the top, they can already scroll. To the top.

Re:Death to Scroll Fade by zbrozek on Wednesday March 18, 2026 @02:38PM (#47429650)
I absolutely hate it. If you haven't heard a complaint about it, you haven't tried hard enough to get feedback.

There is no context which makes it OK.

Re:Death to Scroll Fade by carlosjobim on Wednesday March 18, 2026 @03:33PM (#47430378)
It's awful for the user. There is no reason why scrolling up should perform any other action then scrolling up the content. Zero benefit for anybody involved.
Re:Death to Scroll Fade by underlipton on Wednesday March 18, 2026 @02:39PM (#47429664)
You could just have a "hide bar" button. Dunno how you get it back, maybe put your design smarts there.

Stop making things "intuitive" and expose explicit options to users.

Re:Death to Scroll Fade by toss1 on Wednesday March 18, 2026 @04:39PM (#47431147)
>>without any real downside

Wow, impressive blindness!

Seriously, have you ever used one? Because most people do not read monotonically downwards. We often scroll back to see something in a previous sentence referred to in the spot we are reading. So we want to go back one or two lines. Bot NOOOOooo, the header pops up, covers 1/4 of the screen, so now we have to scroll that much more, pushing off the screen the other text we hoped to keep on the screen, and it might even go through a few adjustments. So, now, what was a non-event less distracting than turning the page in a book or magazine has now become a fully distracting scroll-fest.

Is that clear enough for you?

>>This is literally the best ux pattern you can have.

NOT EVEN CLOSE. The best User Experience pattern is to give the reader what they asked for AND NOTHING MORE. Nothing more for you, nothing more for your advertisers, and nothing more for them. We click to read the content, LET US READ the content, ALL the content, and NOTHING BUT the content. We'll even understand if some proper STATIC adverts are placed in the content, and we might even click thru if you've shown us something relevant and interesting

But as soon as you start putting motion and other distraction in the adverts, my priority becomes NOT reading the advert, but figuring out how to get it out of my face. And if by some chance I remember it, it is filed among "companies to avoid".

Why does it seem everyone who deals with advertising, from the execs down to the programmers, so stupidly thinks only of the first-order effects — "Grab Their Attention!" — and not the second-order effects, where being so offensive — surprise! — offends people...

Re:Death to Scroll Fade by jjj123 on Thursday March 19, 2026 @02:52AM (#47435812)
I’m curious if after reading the dozen or so replies you’ve changed your opinion here, at least a little?

For the record, I am also a user who scrolls up often while reading, so I find the header thing more frustrating than useful.

Re:Death to Scroll Fade by MrSkelter on Thursday March 19, 2026 @06:10AM (#47437060)
You know what tells people there’s more to read? The fact the sentences are cut and the piece hasn’t concluded.

As for “no overhead” what about all the code needed to implement this?

Pages of text should be minimally styled for maximum efficiency.

Re:Death to Scroll Fade by nathanaldensr on Wednesday March 18, 2026 @06:10PM (#47432029)
ZeroHedge is one of the worst offenders for this.
Re:Death to Scroll Fade by matheusmoreira on Wednesday March 18, 2026 @07:24PM (#47432653)
I just zap them with uBlock Origin anyway. Whatever was in that header, chances are it was not important.
Re:Death to Scroll Fade by zombot on Thursday March 19, 2026 @02:02AM (#47435508)
Safari has a "Remove Distracting Elements" feature. Try that. Some web sites can only be visited with the weapons of an exterminator at hand.
Re:Death to Scroll Fade by bouke on Thursday March 19, 2026 @04:44AM (#47436528)
This! And to make matters worse is the header is removed from the document flow, causing the content to jump up when scrolling down. And if you then scroll up to try to read the content that jumped out of the viewport, the stupid header is injected back into the flow causing the content to jump down again. Sigh.
Re:Death to Scroll Fade by WickyNilliams on Thursday March 19, 2026 @04:59AM (#47436623)
Mea culpa: this is kinda my doing. I released a library headroom.js (https://wicky.nillia.ms/headroom.js/) for this purpose in 2013 or something, announced here on HN, and it got very popular. It got ported to every framework imaginable. And tons of websites either used it or imitated it.

I think it can be done well, but most do not do it well. Partially my fault because the defaults in headroom were not how I would recommend it. It had a tolerance option, which meant you had to scroll up so far/fast to trigger the reveal. But in my eternal foolishness I set this to zero by default. Adding a little tolerance makes it much less jittery and more intentionally triggered. And thus much less annoying. See the header on the site, it doesn't appear/disappear with every 1px movement

Re:Death to Scroll Fade by marcjensen on Saturday March 21, 2026 @04:38AM (#47465212)
Could a custom filter for uBlock solve the problem (if there's nothing useful on the header?

For one of my pages I tried this:

  ! 21 Mar 2026 https://oko.press
  oko.press##.navbar__mobile