this post was submitted on 15 Mar 2026
221 points (98.7% liked)

Technology

82669 readers
3373 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] bleistift2@sopuli.xyz 56 points 7 hours ago (5 children)

Unless the user is actively navigating, the header is dead weight. The header should hide on scrollDown and reveal on scrollUp. Let the content breathe.

This one I actually hate. Often I just want to scroll up a few pixels, either to satisfy a mild compulsion or to align the content so I can see most of it. This is completely ruined if the navbar pops back in. Leave it at the top of the page, where it belongs, not at the top of the viewport!

[–] scarabic@lemmy.world 1 points 2 hours ago

The iOS browser has always supported “tap the top of the viewport to scroll all the way up,” which largely allows for what you say: just leave the nav way up there. Last time I looked was years ago, and Android Chrome didn’t did this. Does it now?

[–] village604@adultswim.fan 15 points 7 hours ago

It really depends on the site for me.

What I really hate is a table that's multiple scrolls long where the header row doesn't follow.

[–] new_world_odor@lemmy.world 4 points 5 hours ago

I feel your pain. The really good ones plan for this, some pop up immediately when you scroll up and that sucks. The proper thing to do (imo) is to wait for the user to scroll 80% of the viewport back up, only then letting it begin to slide in, and have it slide in at a rate 1/2 of the page scroll. I do like having it easily available, but it should feel like it's trying to stay out of the way.

[–] MonkderVierte@lemmy.zip 1 points 5 hours ago* (last edited 4 hours ago)

I have this usercss:

[data-testid="header"],
[data-mobile-fixed="1"],
[data-remove-fixed="0"] {
  position: absolute !important;
  width: 100%;
}
main { padding-top: 2rem !important; }

Works well enough on most sites. And on those it doesn't, you can easily exclude.

Can likely be expanded, but adding just header broke more than it fixed.

[–] ulterno@programming.dev 1 points 7 hours ago

At the same time, it needs to be comfortably thin.