Currently, I am working on a Bootstrap layout with three columns. My goal is to have only the middle column scroll while maintaining its position relative to the parent container, similar to how scrolling works on Facebook.
<div class="container">
<div class="row">
<div class="col-md-3">stop scrolling when content ends</div>
<div class="col-md-6"> SCROLL </div>
<div class="col-md-3">stop scrolling when content ends</div>
</div>
</div>
I attempted using position fixed, but encountered issues as it disrupted the grid system. Therefore, I am looking for a solution where the position remains relative to the parent container if possible.