docsifyjs / docsifyjs/docsify

Wrong navigation list item active

Open
#1,957 2 comments 0 reactions 1 assignee Claimed by @jhildenbiddle View on GitHub
plugin
Dominant language
JavaScript
Stars
31.5k
Forks
5.8k
Avg merge
9d 8h
Merged PRs (30d)
2

Description

## Bug Report
A menu item is not getting activated, no active class in the HTML.

#### Steps to reproduce
Go to this documentation [https://beholdr.github.io/maska/#/](https://beholdr.github.io/maska/) and try to scroll down and pass the "Usage" section.

#### What is current behaviour
As you can see it is not getting activated.
https://user-images.githubusercontent.com/11798239/210278304-8aa3515a-fd34-4b31-bea5-8b7dfa5ad0f9.mov

#### What is the expected behaviour
In the navbar, the "Usage" menu should be activated, with the class active in the html.

#### Other relevant information

- [ ] Bug does still occur when all/other plugins are disabled?

No when I disable "docsify-tabs" script import it works.

- Your OS: macos latest
- Node.js version: 16
- npm/yarn version: latest
- Browser version: latest chrome
- Docsify version: 4
- Docsify plugins: latest

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.