-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add back-to-top button or fixed navigation #49
Comments
Not to muddy the issue, but I think fixed navigation(s) might be a better consideration. |
What do you mean by "fixed navigation"? |
Fixed in the sense that the navigation stays at the top for example while scrolling. This can simply be done by adding the Have a look at the navigation of this Bootstrap theme. |
Ah, OK, yes then I agree with @rdwatters -- it would be good to have the search box available at all times. |
A fixed navigation on the theme site would be a great addition as well since the homepage is quite long. |
I should clarify: fixed for the sidebar nav and toc, at least on desktop, especially if we are going to (re)implement smooth scrolling with hash changes. (We already have fixed nav on mobile, and I like the accessibility consideration with the But I also appreciate if @budparr doesn't want the repaints/jank or added JS management. I don't have an opinion one way or the other on a fixed header. |
Pages with a lot of content, like the template primer, take users long to scroll back to the top. While I can click on the first headline in the TOC it doesn't take all the way up to the navigation. To reach the navigation I still a have to scroll once in order to reach it.
To simplify things I propose the addition of a back-to-top button that appears once the user surpasses a certain threshold of pixels in the viewport.
The text was updated successfully, but these errors were encountered: