Sidebar also scrolls main content


I have a problem with the sidebar.
The sidebar is also scrolling the main content if the sidebar reached the end.
I want that if the sidebar is scrolled to the top or bottom and reached the end that the main content does not scrolls.

I think it is doable with CSS overscroll-behaviour but how can I implement this in the Sidebar.js component?
Here I found a solution but only in vue: Scrolling the sidebar causes the main content to scroll. · Issue #84 · coreui/coreui-free-vue-admin-template · GitHub

I am thankful for each reply :wink: