Skip to content

Always scroll to clicked sidebar content #522

Open
@jhildenbiddle

Description

@jhildenbiddle

Docsify does not scroll to the clicked sidebar link content if the link was the last sidebar link clicked.

  1. Visit the Markdown section on the docsify-themeable site
  2. Click any section link (Ex: Code)
  3. Scroll the page
  4. Click the same section link

I believe the expectation is that docsify would scroll back to the section clicked.

Perhaps removing the hash from the URL, then updating it with the section hash would provide a quick fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions