You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context
When I click on a section name under the "Contents" sidebar on the right...
expectation
I expected that section to be highlighted and any subsections expanded under the name.
bug
But instead:
the previous section shows up as currently viewed.
the problem is "solved" if i scroll down a little
(ie, only after scrolling down a smidge does the selected section become highlighted and expanded under "Contents")
problem
This is a problem for people navigating pages via the table of contents sidebar. Using the sidebar is useful for browsing large pages, but this issue makes navigation less user-friendly and sometimes very confusing.
when selecting a section (e.g. opening a URL like page.html#section-name), i think the page needs to be scrolled down a few pixels more. Currently, the last few pixels of the previous section are still visible.
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Describe the bug
context
When I click on a section name under the "Contents" sidebar on the right...
expectation
I expected that section to be highlighted and any subsections expanded under the name.
bug
But instead:
problem
This is a problem for people navigating pages via the table of contents sidebar. Using the sidebar is useful for browsing large pages, but this issue makes navigation less user-friendly and sometimes very confusing.
Reproduce the bug
this can be seen on any site built with this sphinx theme. For example, in the docs for this project, it can be seen at: https://sphinx-book-theme.readthedocs.io/en/stable/customize/sidebar-primary.html#customize-the-sidebar-footer
addendum - potential causes
page.html#section-name
), i think the page needs to be scrolled down a few pixels more. Currently, the last few pixels of the previous section are still visible.sphinx-book-theme.js
to havee[0].boundingClientRect.y<-20
, or also-200
, but noticed no change in the ui.note
i opened an issue about this at jupyter-book/jupyter-book#1827. But I think this repo is the correct place to open this.
List your environment
No response
The text was updated successfully, but these errors were encountered: