JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrapper">
    <div class="header">
        Some<br/>
        Header
    </div>
    <div class="scroller">
    First<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Content<br />
    Last!<br />
    </div>
    
    <div class="footer">
        Some<br/>
        Footer
    </div>
</div>

CSS

body{
    height:100%;
}
.wrapper{
    height:400px;
    border-left:1px solid red;
    position: relative;
}

.header, .footer{
    background-color: #EEE;
    position:absolute;
    width: 100%;
}
.footer {
    bottom: 0;
}

.scroller{
    height: 100%;
    width: 100%;
    display: inline-block;
    /*-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;*/
    background-color: #CCC;
    overflow:auto;
}

JavaScript

$(document).ready(function(){
    $('.scroller').css("margin-top", $('.header').height());
    
    var height = $('.wrapper').height() - ($('.footer').height() + $('.header').height());
    
    $('.scroller').css("height", height);     
});