-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
sidebar-show not working #318
Comments
Same here! |
The sidebars are completely broken in recent versions. Very disappointing. |
Sidebar behavior will be fixed in next release, probably next week. |
Good to hear! Are you aware the |
@curry684 there was a bug in our docs, I will release updated docs tomorrow. |
Looking forward, I just upgraded to 4.1.1 and sidebars are still broken when just copying the constructs from https://coreui.io/demo/4.0, specifically this style is still missing (?) causing
edit: same for 4.2.0-beta.0 |
Can you send me a screenshot? |
Not easy as I'm working on an application with highly sensitive information ;) However you can just disable the mentioned style on https://coreui.io/demo/4.0 in the |
Also noticed that issue in 4.1.3. Thanks @curry684 for the workaround 👍 |
Did anybody get the sidebar hamburger button toggle to work?
In v. 4.1.3 i changed it to this:
But the toggling doesn't work anymore. I want to avoid to write the JS directly in the HTML like it is realised on the demo page. There the onclick attribute is added to the toggle button: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions |
Screenshot (dashboard of the examples without images) I think this is the behavior. The toggle button in the navigation is working but the content on the left side is not shifting. I'm using one of the last versions (~4.2) thx @curry684 - the workaround is working nicely |
For those having the same problem, if you add CoreUI from a bundler (like Webpack) I've just created a simple JS you can add and it works flawlessly. Remember to add
Then in your app.js just import and add |
Anybody here? still have the same error with CoreUI v4.3.2 |
I'm upgrading a project from 2.x to 4.x and I'm also having the same problem. The piece of code that solves it, already indicated in the previous comments, I found in the source documentation coreui/docs/assets/scss/_layout.scss Lines 1 to 6 in b6f641a
Copying these lines of code into my scss solved the problem. Strange that it has never been fixed until today. |
According to the documentation the sidebar should not be visible unless the sidebar-show class is added. Currently I do not have the class added but the sidebar is open for all screen sizes above md. I am trying to add the class sidebar-lg-show in order to only have it open if the screen size is lg or larger but seems to do nothing.
The text was updated successfully, but these errors were encountered: