Skip to content

toc not aware of page url? #64

@su-narthur

Description

@su-narthur

I'm adding toc.js to a page at http://localhost:8080/testview?view=dev/styleguide.html, yet the links in the TOC are things like this:

<a href="#toc-atoms">Atoms</a>

Clicking on that link takes me to http://localhost:8080/#toc-atoms in error. I think the links should be like /testview?view=dev/styleguide.html#toc-atoms, instead.

How can this be fixed?

Also, not sure if this is related, but the active state isn't following my scroll, either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions