←back to thread

569 points todsacerdoti | 3 comments | | HN request time: 0.96s | source
Show context
wruza ◴[] No.42600212[source]
I don't keep a "dick bar" that sticks to the top of the page to remind you which site you're on. Your browser is already doing that for you.

A variation of this is my worst offender, the flapping bar. Not only it takes space, it flaps every time I adjust my overscroll by pulling back, and it covers the text I was trying to adjust. The hysteresis to hide it back is usually too big and that makes you potentially overscroll again.

Special place in hell for those who hide the flap on scroll-up but show it again when the scroll inertia ends, without even pulling back.

Can’t say here what I think about people who do the above, but you can imagine.

replies(8): >>42600925 #>>42605807 #>>42606856 #>>42607353 #>>42608970 #>>42609585 #>>42609748 #>>42610310 #
1. layer8 ◴[] No.42606856[source]
Another common problem with overlayed top bars is that when following fragment links within a page, the browser scrolls the page such that the target anchor is at the top of the window, which then means it’s hidden by the top bar. For example, when jumping to a subsection, the subsection title (and the first lines of the following paragraph text) will often be obscured by the top bar.
replies(1): >>42607556 #
2. morder ◴[] No.42607556[source]
You can somewhat solve this by using some css to specify the offset from the top the anchor should be. `scroll-margin-top`
replies(1): >>42607929 #
3. gavinsyancey ◴[] No.42607929[source]
Yes, but many sites don't.