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
This is an interesting use case. Do you prefer for the TOC to open the nested item(s) for the current window scrollTop or to open as if it hasn't been interacted with yet, which means no nested items will be visible immediately upon making the TOC visible?
IMO, the TOC should be focus on the element for the current window scrollTop regardless of the level in the TOC. I use tocify to enhance the navigation of end users, so, pointing the current element seems to be the right behavior.
Hey!
I just updated the theme of a project which uses your lib & it seems the nested toc elements are not hidden properly if the toc is not visible.
My theme hides by default the toc & allows to show it by clicking on a button.
I have created a jsbin to reproduce the issue.
The text was updated successfully, but these errors were encountered: