V5 Offcanvas : Add offcanvas-footer
See original GitHub issue <div class="offcanvas-footer">
...
</div>
.offcanvas-footer{
padding: 1rem 1rem;
border-top: 1px solid #dee2e6;
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Offcanvas · Bootstrap v5.0
Build hidden sidebars into your project for navigation, shopping carts, and more with a few classes and our JavaScript plugin.
Read more >Offcanvas · Boosted v5.2
Build hidden sidebars into your project for navigation, shopping carts, and more with a few classes and our JavaScript plugin.
Read more >How to display Bootstrap Offcanvas inside a Modal
... Show a "Offcanvas right" by clicking the button below. ... </div> <div class="modal-footer"> <button class="btn btn-primary" ...
Read more >Bootstrap 5 pop-up Footer with offcanvas on Codeply
Hello Bootstrap 5. This is a Bootstrap 5 Offcanvas example footer! Toggle Footer ...
Read more >Bootstrap 5 Crash Course Tutorial #17 - Offcanvas - YouTube
... tutorial you'll learn about a new sidebar component - the Offcanvas. View this course in full now -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wish I could +1 this and that it wasn’t punted.
For v4, I’ve used my own version of “modal-right” which took the all the classes of a modal and fixed it to the right. Then today I stumbled across the offcanvas component and realized it’s exactly what I need, but it lacks a footer.
Ideally, I see the offcanvas being the Bootstrap version of Material’s Drawer or Microsoft’s Panel. The footer absolutely brings value if you’re using an offcanvas to do additional functionality (like a modal) but with it being fixed to the side.
Thanks for this!
Just an observation that might be helpful to others but this only works when the offcanvas modal is fixed. The footer gets covered up if you allow vertical scrolling. (long list of options, etc.)