This is my sass code:
The scroll bar on the mobile nav shows up but I can't scroll even though I set the height to 100%, if I set the height to some pixels then the scroll lets me go down, if I use percentage, it won't let me... I've no idea why, first time I encounter this kind of problem.
#topnav {
position: fixed;
height: 100%;
left: 0;
top: 0;
background-color: darken($default-header-bg, 10);
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
width: $mobile-nav-width;
@include transform(translateX($mobile-nav-width * -1));
ul {
li {
a {
display: block;
height: 40px;
padding: 5px;
text-align: center;
line-height: 40px;
border-bottom: 1px solid $default-header-bg;
}
}
}
}