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.

How to set left sidebar is minimized as default

See original GitHub issue

Hi all, I want to show left sidebar minimized as default. I have tried to add minimized props to AppSidebar element as bellow <AppSidebar fixed minimized>. When i reload page i see it looks good but when i hover the mouse on it, it doesn’t show child’s menu level. It’s behavior isn’t the same when i click on AppSidebarMinimizer element two times (that way works perfectly)

Thank all.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
xidedixcommented, Feb 21, 2019

Hi @ngoctai, @nithinkashyapn - thanks for pointing this out!

Please update:

  • @coreui/coreui to 2.1.7
  • @coreui/react to 2.1.4
<AppSidebar fixed minimized>
...
</AppSidebar>

From now on minimized should work as expected.

Let us know if this helps.

1reaction
xidedixcommented, Jul 2, 2019

Hi @fabiandeny you can overwrite css rule in src/scss/_custom.scss

.sidebar-minimized .sidebar .nav-dropdown-items .nav-link .badge {
  display: inline;
}

or sth like this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apex 5 - Minimize Left Sidebar Navigation by Default - Dan Gillis
The users may think your super cool left sidebar navigation, which is maximized by default, is neat, but they'd actually prefer their space...
Read more >
How to hide the Sidebar by default when page loaded
We can render the Sidebar in closed state by default by using any of the following ways. Way 1: We can set the...
Read more >
Change the appearance of the Navigation Pane
Minimize the Navigation Pane, so that with a single click you can open and close the pane to access your folders and different...
Read more >
Adjust your sidebar preferences - Slack
Adjust your sidebar width · From your desktop, click your profile picture in the top right. · Select Preferences from the menu. ·...
Read more >
How to hide sidebar in bootstrap by default? - Stack Overflow
Defaulty add class toggled to sidebar-wrapper div. – Suresh. Sep 1, 2015 at 5:51. Add a comment ...
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