Is it possible to prevent scrolling outside the block?

There is a block with scrolling.
For example, comments on the Toaster (screenshot)

If you hover on the block and start to scroll, then when the lower boundary of this unit scrolling starts to scroll the whole page.
Is it possible to prevent scrolling the entire page until the cursor is on this unit?
Thank you.
August 19th 19 at 22:55
3 answers
August 19th 19 at 22:57
Solution
jsfiddle.net/4wrxq/272 - devante75 commented on August 19th 19 at 23:00
August 19th 19 at 22:59
August 19th 19 at 23:01
It is possible, but unnecessary. It will add a lot of inconvenience to users.

Find more questions by tags FrontendHTMLJavaScript