docsifyjs / docsifyjs/docsify

Wrong navigation list item active

未关闭
#1,957 2 条评论 0 个 reaction 已指派 1 人 已被 @jhildenbiddle 认领 在 GitHub 查看
plugin
主要语言
JavaScript
星标
31.5k
派生
5.8k
平均合并
9 天 8 小时
30 天内合并 PR
2

描述

## 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。