-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Component: DetailsListComponent: GroupedListFluent UI react (v8)Issues about @fluentui/react (v8)Issues about @fluentui/react (v8)Status: In PR
Description
Library
React / v8 (@fluentui/react)
System Info
n/aAre you reporting Accessibility issue?
no
Reproduction
https://codepen.io/upen_1611/pen/qBLXMPr?editors=0010
Bug Description
Actual Behavior
When scrollToIndex() is called the list does not scroll to the provided index
Expected Behavior
When scrollToIndex() is called the list should be scrolled such that the provided index is visible.
Repro
- Go to provided link
- Click the "add item button" such that the list becomes taller than the viewport
- Note that the list does not scroll
Notes
A similar method, focusIndex() does scroll the row in to view.
Logs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: DetailsListComponent: GroupedListFluent UI react (v8)Issues about @fluentui/react (v8)Issues about @fluentui/react (v8)Status: In PR