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
Inside the table of content, if we click on a link that points to content located at the bottom of a page, the link will not change its status and never be active.
To Reproduce
For example, when visiting the clean-jsdoc-theme home page, if we click on Developing in the table of content, the Developing link will be active. But any following link (Contributing, Thanks, Contact, License) will never be active if click on them as they point to content located at the bottom of the page.
Expected behavior
Clicking any link inside the table of content should trigger their active status.
Desktop :
OS: Ubuntu 22.04.1 LTS
Browser: Firefox 104.0
The text was updated successfully, but these errors were encountered:
maxime-bc
changed the title
Table Of Content links are not active if they point to content at the bottom of a page.
Table of content links are not active if they point to content located at the bottom of a page.
Aug 23, 2022
maxime-bc
changed the title
Table of content links are not active if they point to content located at the bottom of a page.
Table of content links are never active if they point to content located at the bottom of a page.
Aug 23, 2022
Yes, this is a known bug. I have no idea how to make it active when we are on the last page. I guess this is the limitation in the Tocbot library (We are using tocbot under the hood for TOC).
I will try to find some time to solve this issue. In the meantime, if you have any suggestions/solutions then please feel free to share.
Hello,
Inside the table of content, if we click on a link that points to content located at the bottom of a page, the link will not change its status and never be active.
To Reproduce
For example, when visiting the
clean-jsdoc-theme
home page, if we click on Developing in the table of content, the Developing link will be active. But any following link (Contributing, Thanks, Contact, License) will never be active if click on them as they point to content located at the bottom of the page.Expected behavior
Clicking any link inside the table of content should trigger their active status.
Desktop :
The text was updated successfully, but these errors were encountered: