Prevent a page from scrolling while a dialog is open | CSS-Tricks
Chrome 144 improves overscroll-behavior by making it applicable to non-scrollable containers, effectively preventing page scrolling when a <dialog> is open, simplifying previous JavaScript solutions.









