You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,8 @@ This option deviates from `scroll-into-view-if-needed` in two ways.
75
75
- The default value is `smooth` instead of `auto`
76
76
- Using `smooth` adds it to browsers that miss it, and overrides the native smooth scrolling in the browsers that have it to ensure the scrolling is consistent in any browser.
77
77
78
+
The options `auto`, `instant` or `Function` behaves exactly like in `scroll-into-view-if-needed`.
0 commit comments