Answer the question
In order to leave comments, you need to log in
Pop-up window on the right and scrolled the browser, how to hide the scroll?
Hello.
The question is, there is a pop-up window on the right in which there is a scroll, it turns out that when the window pops up there is the main browser on the right, the site scrolls, and it also scrolls in the pop-up window, there is a little confusion, as it were, can the browser scroll be disabled when the window pops up on the right.
Answer the question
In order to leave comments, you need to log in
In general, not "is it possible to disable the scrolling of the browser when a window pops up on the right", you need it! Put `overflow: hidden` on the body when you open modals, the content below them should not scroll in the same way that the focus should not go beyond the open modal.
I think it's time to add something unusual to our sites, friends. I suggest removing the scrollbar altogether.
::-webkit-scrollbar{width: 0}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question