question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to fully collapse the sidebar?

See original GitHub issue

Hi, I want to hide the sidebar completely on mobile devices when it is collapsed, and toggle it from an external button. I’ve been reading the issues/docs and it seems like there is no option to do so (the fully collapsed bit). Am I right? Or is there such a feature? If there is not; have you considered adding it, or know any way I can hide it outside of your component?

Edit: tried with widthCollapsed='0px' but it leaves a bit of the sidebar visible (tried both on my project and a fresh vue)

Thank you!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
weisinlakdcommented, Dec 18, 2020

When you set the property widthCollapsed='0px' it looks like this -> https://i.imgur.com/6aNd13H.png

I may not have been clear in what i want; i wanna have the collapsed state of the sidebar not be visible but to have the regular sidebar available to toggle from a button.

Thanks again!

0reactions
mariusacommented, Oct 30, 2022

Solved by using v-if

<sidebar-menu
            v-if="hasSidebar"
Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create a Collapsed Sidebar - W3Schools
Learn how to create a collapsible sidebar menu. × About Services Clients Contact. Click on the button to open the collapsible sidebar: ☰...
Read more >
How to completely collapse sidebar in bs4Dash - Stack Overflow
I just found the answer to this question. There is a parameter in bs4DashPage by the name of minified . Setting this parameter...
Read more >
Collapse / Expand Sidebar Menu Using JavaScript, HTML ...
Learn how to collapse / expand a sidebar menu using JavaScript, HTML, & CSS only. In this tutorial, we will build a fully...
Read more >
Collapse / Expand Sidebar Menu Using JavaScript ... - YouTube
Learn how to collapse / expand a sidebar menu using JavaScript, HTML, & CSS only. In this tutorial, we will build a fully...
Read more >
Maximize workspace on a small screen in REAPER - YouTube
I've been editing a lot from my old MacBook lately and to maximize the editing workspace, something I've found to really help is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found