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
I have jquery, jquery-ui, and tocify included, and if I call .tocify() on a div after the AngularJS digest cycle using $timeout it gives me a table of contents.
However clicking on any element in the toc just directs me to a different route, not to the right position on the page.
I think that you have to change "history" to false. It is true by default and creates hashes in the URL.
We also use tocify within an AngularJs app for about 3 years. And as far as I remember we had the same issues with routing. Switching "history" to false did the trick.
Getting MAJOR performance issues though, running tocify on the content after each route change. But looks like tocify isn't cleaning up after changing route so is leaking memory...
Would love to have this working with AngularJS.
I have jquery, jquery-ui, and tocify included, and if I call .tocify() on a div after the AngularJS digest cycle using $timeout it gives me a table of contents.
However clicking on any element in the toc just directs me to a different route, not to the right position on the page.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: