Documenter.jl: Sidebar navigation scrolls to top on clicking an entry

Created on 11 Sep 2017  路  4Comments  路  Source: JuliaDocs/Documenter.jl

The official online documentation of Julia consists of a navigation menu on the left and the content on the right

doc

Whenever you click on one of the main entries that is farther down the navigation menu (e.g. "Essentials") the page loads in the content area, but then the navigation bar scrolls right back to the top.

This does not happen if you click an item that is on the level 2 of the navigation! Can this be fixed?

My system is Linux with a Chrome browser and the behaviour was verified by a second user.

Enhancement

Most helpful comment

fixed by #792

All 4 comments

The gist of the issue is that the top level navigation item actually loads a new page (as opposed to jumping to in-page anchors). Would indeed be nice if it would center the current page in the navigation menu on page load.

On a slight tangent -- it could be nice to still show the version selector and search box even if you have scrolled down as well.

Both require some js magic I think. Up for grabs.

I'll add the word "sidebar" here as I did not find this issue when opening #594, as I searched for sidebar.

@mauro3 I changed the title.

fixed by #792

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nalimilan picture nalimilan  路  4Comments

BioTurboNick picture BioTurboNick  路  5Comments

galenlynch picture galenlynch  路  6Comments

jebej picture jebej  路  3Comments

haampie picture haampie  路  3Comments