I have a sidebar menu with dropdowns and a long list that needs a scroller.
The issue I'm having is either the scrollbar is off the screen or the dropdown is hidden because of overflow: hidden;
or both.
Here is my CSS:
/* I want dropdowns to be on the left */
.dropdown-menu {
top: 0;
left: -160px;
}
#rightbar {
position: fixed;
right: 0;
height: 100%;
background: lightgray;
width: 300px;
}
/* Normally, you'd do this, but this makes the dropdown not show; ALSO, the scrollbar is off the screen */
#wrap {
height:100%;
overflow:hidden;
}
#bottomStuff {
height: 100%;
overflow-y: auto;
}
https://jsfiddle.net/cp0fqyt9/
How do I get dropdowns and scrollbars to work in a position: fixed
sidebar (without JS)?