We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07fd836 commit fbcb5c1Copy full SHA for fbcb5c1
README.md
@@ -57,7 +57,7 @@ scrollIntoView(node, {
57
// Your scroll actions will always be an array, even if there is nothing to scroll
58
behavior: actions =>
59
// list is sorted from innermost (closest parent to your target) to outermost (often the document.body or viewport)
60
- scrollActions.forEach(({ el, top, left }) => {
+ actions.forEach(({ el, top, left }) => {
61
// implement the scroll anyway you want
62
el.scrollTop = top
63
el.scrollLeft = left
0 commit comments