How can I achieve a scrolling behavior similar to the one demonstrated here? When scrolling through the sidebar, I want it to continue scrolling until it reaches the end. After that, any further scrolling on the sidebar should scroll the main panel instead. Here is the code snippet I am currently using:
<div className='wrapper'>
<div className='sidebar'>My sidebar</div>
<div className='main-panel'>
//this is the main panel content on which overflow y scroll is enabled
<div className='row'>
<div className='col-md-8' id='col-1'>
This is the column content I want to scroll when end
of my scroll content of col-2 is reached
</div>
<div className='col-md-4' id='col-2'>
This is the column which when scrolled to the end
will then scroll col-1
</div>
</div>
</div>
</div>