News for hackers. Stuff that matters.
Re:Kill-sticky, a bookmarklet to remove sticky elements and ... by wruza on Wednesday September 28, 2022 @06:09AM (#33006311)
This method is just bad and annoying aff, even if that header makes sense to appear. Program in a hysteresis at least and only pop it up after 20-30% of upscroll.

Most implementations do the inverse: you overscroll a little, want to fix it, but the header appears. You want to scroll it away, but it persists for a while, so you lose track of where to start to make the line you needed to the top. Because user humiliation is a MUST for a modern site, I guess.

iOS Safari does it much better than a simple hysteresis for its URL bar, but I’m not sure web has enough event detail to implement its way: pull down does nothing, only “kick” down shows the bar.

There are no comments on this comment yet.