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

Scroll to active item in sidebar on load #214

Closed
lazka opened this Issue Jul 15, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@lazka

lazka commented Jul 15, 2015

As an example: https://quodlibet.readthedocs.org/en/latest/development/maint.html

It would be nice if the sidebar item I have just clicked on would still be in view on my small screen after the page is loaded. Maybe scroll to the active item in the sidebar on load with some javascript?

@agjohnson

This comment has been minimized.

Collaborator

agjohnson commented Jul 21, 2015

We have plans to improve this more on a future release. It currently has some ability to scroll to the correct element, but there should be better focusing on the nav element when items are clicked, or entering a page like this.

@agjohnson agjohnson added this to the v0.1.10 milestone Jul 21, 2015

@agjohnson agjohnson modified the milestones: v0.3.0, v0.4.0 Mar 29, 2018

@agjohnson agjohnson modified the milestones: v0.4.0, 0.5 Jun 7, 2018

@agjohnson

This comment has been minimized.

Collaborator

agjohnson commented Sep 17, 2018

Looks like the feature that does exist might have regressed in addition. Clicking on a menu item, even L1, doesn't auto scroll the menu down now.

Ref rtfd/readthedocs.org#4474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment