-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some items in sidebar highlight incorrectly. #86
Labels
bug
confirmed as a bug
Comments
why not |
The sidebar is hidden by default on the mobile. No need to scroll when the highlight. |
no, I mean even if its not in mobiles, getAndActive should be perform? |
Actually I just check the viewport less than 600px as a mobile. |
大佬orz, 我英文不好,就是想问不在viewport大于600px时getAndActive有什么考虑么 |
QingWei-Li
added a commit
that referenced
this issue
Feb 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check https://docsify.js.org/#/cdn?id=other-cdn
click other-cdn, it won't be highlighted.
it is because sidebar highlight is computed from scroll position, but several headers in the last will never appear on top of viewport
The text was updated successfully, but these errors were encountered: