Query .scrollParent() Finds nearest scroll container element query-scrollparent component Query page.js DOM Traversal Returns window if no scroll container found. Use { all: true } to get all scroll parents in the chain ["query","scroll","parent","overflow"] .scrollParent() Example
Categories