Section anchor links opened from an external source does not scroll properly
Problem description
If you open a #section link in the Dockerfile reference page from an external page, the page doesn't scroll properly. Clicking the section links when you're already on the page is fine though.
Problem location
- Open this link: https://docs.docker.com/engine/reference/builder/#arg
- Notice that you ultimately end up in: https://docs.docker.com/engine/reference/builder/#user
ARGisn't even visible here. - Open this link: https://docs.docker.com/engine/reference/builder/#env
- Notice that you ultimately end up in: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
But at least you can see
ENVat the bottom.
Zooming in your browser (via Ctrl++ or whatever) will make the problem even more noticeable as it pushes even more content further down the page.
This seems to be mostly fixed but in FF 52 on OS X 10.11.6 it still happens when you change the anchor in the URL bar and hit enter. It works on page load and on navigation bar clicking but not on in-page manual navigation. It may also be using JavaScript so I'm not sure how degraded the experience is for NoScript users or if we care about them (requiring JS to read docs seems a bit OTT but maybe there is a policy).
Can repro in Firefox. Chrome and Safari are fine.
@jsouth care to take a crack?
@mistyhacks - Apologies for delayed response. For sure, i'll see if I can remedy this. :)
I can reproduce @dsheets experience with:
- FF 59
- FF nightly
- Chrome latest
Cannot reproduce issue; fixed in recent build. Closing ticket.
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked