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
- Call this function to scroll the top/left of the parentRef element to the start of the item located at the passed index.
328
327
-`align: 'start' | 'center' | 'end' | 'auto'`
329
-
- Defaults to `start`
328
+
- Defaults to `auto`
330
329
-`start` places the item at the top/left of the visible scroll area
331
330
-`center` places the item in the center of the visible scroll area
332
331
-`end` places the item at the bottom/right of the visible scroll area
@@ -339,15 +338,6 @@ const {
339
338
-`center` places the offset in the center of the visible scroll area
340
339
-`end` places the offset at the bottom/right of the visible scroll area
341
340
-`auto` brings the offset into the visible scroll area either at the start or end, depending on which is closer. If the offset is already in view, it is placed at the `top/left` of the visible scroll area.
0 commit comments