interactionsVercel
Overscroll Behavior
MUST
MUST: Intentional `overscroll-behavior: contain` in modals/drawers
Set overscroll-behavior: contain in modals and drawers
Bad
Good
Why it matters
When scrolling reaches the end of a modal or drawer, prevent the scroll from continuing to the page behind it. Use overscroll-behavior: contain to keep scroll interactions contained within the current layer.
References