cypress-documentation
cypress-documentation copied to clipboard
What does "nearest" mean for scrollBehavior?
Subject
Guides
Description
The Actionabiliy page (and a few other pages) mentions the "nearest" option for scrollBehavior but I can't find a definition for that. Does that mean the parent node (like "closest" in jQuery/Cypress)? The other options are more self-descriptive but "nearest" is a bit smoky so I'd like that clarified.