twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.25k stars 78.77k forks source link

Dashboard example: There is no way to display the sidebar in mobile layout #22072

Closed Skaronator closed 7 years ago

Skaronator commented 7 years ago

When you open the Dashboard example (https://v4-alpha.getbootstrap.com/examples/dashboard/) and reduce the browser size to mobile layout then it will hide the sidebar completely.

On code base it is correct but it doesn't make any sense to me. (How do you want to click on the shiny Analytics buttons if the sidebar is completely hidden?)

I found some examples how this could be handled better:

mdo commented 7 years ago

There's an offcanvas example that highlights the potential behavior you're after. For now I'll leave the dashboard example as-is.