The cart on the workshop’s catalogue: scroll its list to the end and keep pushing, and Mr. Harun’s tapes show whether the catalogue behind moves along, with…
The "page scrolls along" bug makes modals, drawers, chats and bottom sheets feel cheap; on a phone it can even trigger pull-to-refresh by accident. One line of overscroll-behavior: contain on the box that scrolls closes it, without locking the page’s scrolling.
A scroll that runs out is passed on to the next scroll container
overscroll-behavior on body, not on the element that scrolls This property is read on the element with its own scrollbar. If the list in your modal is what scrolls, put contain on that list, not on body or a wrapper that does not scroll. (For the page itself, the viewport reads it from html.)overflow first Without overflow: auto/scroll and content that overflows, the element is not a scroll container, so overscroll-behavior does nothing: the scroll goes straight to the page. Make the box scrollable first.none equals contain contain only breaks the chain (the page stays put). none = contain plus turning off the built-in edge effects (bounce, glow, pull-to-refresh; on overscroll-behavior-x also swipe-to-go-back). For a normal modal contain is enough; none is for a full-screen app shell.contain on .list, again It stops at the end of the list and the catalogue stays put. The chain stops at .list.none on .list Here it behaves like contain: the chain stops. The only difference is the built-in edge effects (bounce, Android glow, pull-to-refresh) are off too, which a page cannot measure.