-
-
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
Hidden sidebar causing other plugins issues #1392
Comments
If you have a Okay, I see fixme, any new ideas? @anikethsaha docsify/src/core/render/index.js Lines 134 to 140 in ae45b32
|
Yes, I was not 100% comfortable with styling like these. so marked as fixme inorder to re-iterate here again. |
@sy-records I was making a single page layout with hard coded navigation and noticed that other plugins weren't loading. Everything was stopping after the |
This issue has been addressed by PR #2469. The changes will be available when Docsify v5 is released. |
Bug Report
Steps to reproduce
md
pages:home.md
-- add 2xhref
topage1
andpage2
page1.md
-- add 2xhref
tohome
andpage2
page2.md
-- add 2xhref
tohome
andpage1
/#/home
in console no errorspage1
linkWhat is current behaviour
After first load and the sidebar is removed, any other navigation to other pages triggers the
.remove
which fails since the element is already gone.If the error is hit, then following plugins dont run until a hard reload.
What is the expected behaviour
Error doesn't occur, and doesn't stop other scripts from running.
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS: macOS
Node.js version: 14.8.0
npm/yarn version: 6.14.8
Browser version:
Docsify version: 4.11.6
Docsify plugins:
The text was updated successfully, but these errors were encountered: