You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on an off canvas navigation and I'm trying to use BS as much as possible.
I implemented a nav as standard and just styled it to be like a sidebar. When applying collapse to it, as I would a top of page nav, the functionality works but collapse is setting height:0 and scrolling vertical. I can overcome a lot of this in CSS.
Feature Idea: Can we also collapse left/right with .collapse-h or .collapse-v and then we can do the rest in CSS?
Thanks
EDIT:
I see that you can add .width to dictate collapse direction, however it's not working 100% and is much worse when using flexbox.
The text was updated successfully, but these errors were encountered:
EDIT
This is what I was trying to do, but I still think that having the collapse.js be able to collapse both vertically and horizontally gives us the tools within the BS framework for us to create custom solutions.
I'm currently working on an off canvas navigation and I'm trying to use BS as much as possible.
I implemented a nav as standard and just styled it to be like a sidebar. When applying collapse to it, as I would a top of page nav, the functionality works but collapse is setting
height:0
and scrolling vertical. I can overcome a lot of this in CSS.Feature Idea: Can we also collapse left/right with
.collapse-h
or.collapse-v
and then we can do the rest in CSS?Thanks
EDIT:
I see that you can add .width to dictate collapse direction, however it's not working 100% and is much worse when using flexbox.
The text was updated successfully, but these errors were encountered: