I've made a div layout that looks and works exactly as I want it to do, in all browsers (haven't tested Safari), but not Chrome (!?).
HTML:
<div class="app-wrapper">
<div class="page-header">
header
</div>
<div class="page-content">
<div class="component-container">
<div class="list-container">
<!-- lots of list items -->
</div>
<div class="content-container">
<!-- lots of content -->
</div>
</div>
</div>
</div>
CSS:
.app-wrapper
height: 100%
display: flex
flex-direction: column
.page-header
flex: 0 0 auto
height: 80px
.page-content
flex: 1 1 auto
position: relative
overflow: auto
.component-container
display: flex
height: 100%
.list-container
height: 100%
overflow: auto
.content-container
width: 100%
height: 100%
overflow: auto
Whats wrong and what can I do to make the list (yellow) and content (green) have their own overflow scroll like in all other browsers?
Thanks!