How can I use a pop-up on the side bar? #9701
Unanswered
green-study
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make a pop-up on the navbar(pc ver) and sidebar(mobile ver).
But, It only works on the navbar.
Is there any way to make it possible on the sidebar?
-- source code (docusaurus.config.js navbar) --

-- navbar --


After click the "Go to Lesssons" button
Pop-up appear
-- sidebar --

Pressing the "Go to Lessons" button does not bring up the pop-up.
When the button is pressed, "Clicked" message is displayed in the console, but the console message does not appear.
The button does not function normally.
I've also used the <button> tag instead of <a>.
Beta Was this translation helpful? Give feedback.
All reactions