lets say i have a drawer with scroll, or actually can be modal as well or whatever, with overflow auto or scroll etc.
When the drawer or modal reach their endpoint with the scroll, the scroll will continue with the background “scroll”, the only thing that is the difference is the z-index.
where i can put the css code to avoid the scroll for the entire page while, lets say, a modal or a drawer is open at the moment?
I can actually do it with classes and put the css style in the header or footer, just not sure how it will work with the loading times.
Usuallly, i will have different css files and include it if necessary.
Some clarification would be very appriciated, to understand how it works here.
I guess you can try to put your whole page inside the same section and bind the overflow on the section so when the modal or your drawer is open it disable the scroll on the section