How to disable the scrolling in the background when I scroll inside react-dock ?
aziz-boudi4 opened this issue · 1 comments
aziz-boudi4 commented
When I scroll inside react-dock, there are conflicts with the scroll in the background (main view).
My goal is that when react-dock is visible, and I scroll inside of it, the view behind the dock shouldn't scroll.
How can I do that ?
aziz-boudi4 commented
Never mind, it was a mistake on my side.
The solution is to fix the parent view with some css
this way even if you scroll inside 'react-dock', nothing moves behind the dock
{
bottom: 0,
top:0,
left:0,
right:0,
position: fixed
}