overscroll-behavior-y: contain not working on non-scrollable element
I’m trying to prevent body scrolling on mobile devices when an overlay element is open (for example a modal or a sidebar or a fullscreen menu, etc).
I’m trying to prevent body scrolling on mobile devices when an overlay element is open (for example a modal or a sidebar or a fullscreen menu, etc).