Clicking a link to a header when window is narrow makes the header hidden under the top menu bar.
Try click https://pkgdocs.julialang.org/v1/environments/#4.-Working-with-Environments while having a narrow window. The result should be similar to:

The header is hidden by the top bar and it is a bit confusing since you expected to see the header you got linked to. Scrolling up makes the header be revealed.

It would be good if you could see the header when clicking a link even if the window is narrow.
I cannot reproduce this, do we still have this issue?
I can repro this. E.g. if you navigate to https://documenter.juliadocs.org/stable/#Package-Features
Ok, but that header isn't fixed right? It moves when scrolling(even at top/bottom of page).
Ok, but that header isn't fixed right? It moves when scrolling(even at top/bottom of page).
Do you mean the top bar? The UX problem here is that the heading you'd expect to see is hidden when you navigate to the page. Ideally it should be visible. I guess there are two solutions here:
- Don't jump quite to the heading, but slightly higher, so that it wouldn't be hidden by the top bar.
- Just hide the top bar when you load the page.
I actually feel partial to (2) -- seems simpler. But it would be interesting to know how other sites that use headroom handle this.