In my demo http://jsfiddle.net/batfafpf/2/ my modal is unscrollable even I set it to overflow-y:scroll. Not sure why, probably the fixed positin of the parent is causing the problem.
#dateTimeModal > div{
overflow-y:scroll;
}
In my demo http://jsfiddle.net/batfafpf/2/ my modal is unscrollable even I set it to overflow-y:scroll. Not sure why, probably the fixed positin of the parent is causing the problem.
#dateTimeModal > div{
overflow-y:scroll;
}
The scroll event is not working due to two mistakes in style.
pointer-events: none;Here is what it should be.
.modalDialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
opacity:1;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
}
#dateTimeModal > div{
overflow-y:scroll;
height:50px;
}
add overflow-y: scroll; to this class and remove pointer-events: none;
.modalDialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
opacity:1;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
overflow-y: scroll;
}