My modal body has two divs side by side, one of them should have a scroll bar if its contents are too large for the modal. Unfortunately, the scrollbar appears on the modal body, not on my div.
What I have:

What I want:

My Guest panel has overflow-y for auto, I tried with "scroll", but the scroll bar is displayed but not available. I tried different values ββfor overflow on a modal body, in vain.
CSS
#panelGuest{ overflow-y:auto; overflow-x:hidden; width: 35%; float:left; border-right:solid #ff920a 2px; min-height:100px; }
HTML:
<div id="modalShareBody" class="modal-body"> <div id="panelGuest" class="panel"> The div where i want the y-scrollbar </div> <div id="panelDetail" class="panel"> </div> </div>
Here is the scenario with the problem: http://jsfiddle.net/Ua2HM/2/
source share