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

Sidebar links don't open collapsed sections #1385

Closed
dodomorandi opened this issue Apr 30, 2021 · 3 comments
Closed

Sidebar links don't open collapsed sections #1385

dodomorandi opened this issue Apr 30, 2021 · 3 comments

Comments

@dodomorandi
Copy link

I found this issue on syn. Open this page on the documentation, and click on one of the methods (i.e.: parse_meta).

impl Attribute section is collapsed by default in this case, and clicking on one of the methods does not expand the section. Moreover, it does not even scroll the page to the collapsed element, making navigation a bit annoying.

If possible, I think that automatically expanding the relative collapsed section is the expected behavior. If this solution tricky, at least the page should be scrolled to the collapsed section.

@jyn514
Copy link
Member

jyn514 commented Apr 30, 2021

This is fixed on nightly. rust-lang/rust#84552

@jyn514 jyn514 closed this as completed Apr 30, 2021
@dodomorandi
Copy link
Author

Sorry for the issue -- searched for the wrong terms 😞

@jyn514
Copy link
Member

jyn514 commented Apr 30, 2021

No worries! docs.rs is in kind of a weird situation where it depends on lots of external tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants