Library
React / v8 (@fluentui/react)
System Info
Are 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
Library
React / v8 (@fluentui/react)
System Info
Are 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 indexExpected Behavior
When
scrollToIndex()is called the list should be scrolled such that the provided index is visible.Repro
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