24 / Scroll behaviour
Overscroll Containment
Push both panels past their last line. One hands your gesture on to the page behind it; the other keeps it.
also called scroll chaining · overscroll-behavior · gesture trapping
One property, and it is the whole difference between a panel that feels solid and one that feels like a leak. The chaining default is right for a document and wrong for almost every overlay.
How it is built
overscroll-behavior: contain;scroll both to the end
default — chains
contain — absorbs