Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to collapsed pages end up off-screen #2485

Open
goerz opened this issue Mar 26, 2024 · 0 comments
Open

Links to collapsed pages end up off-screen #2485

goerz opened this issue Mar 26, 2024 · 0 comments
Labels
Format: HTML Related to the default HTML output Type: Bug

Comments

@goerz
Copy link
Member

goerz commented Mar 26, 2024

When linking to a specific object on a page that used CollapsedDocStrings, the page gets loaded, positioned at the anchor, and then the docstrings collapse, potentially putting that anchor off-screen

For example: https://documenter.juliadocs.org/stable/lib/internals/utilities/#Documenter.Object

(depends on the size of your browser window, presumably; make your window smallish)

The correct thing to do would be to have JS that jumps again to the current anchor after the collapse

@mortenpi mortenpi added the Format: HTML Related to the default HTML output label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Format: HTML Related to the default HTML output Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants