Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DevTools] feat[Tree]: set initial scroll offset when inspected eleme…
…nt index is set (#31968) Stacked on #31956. See [commit on top](ecb8df4). Use `initialScrollOffset` prop for `FixedSizeList` from `react-window`. This happens when user selects an element in built-in Elements panel in DevTools, and then opens Components panel from React DevTools - elements will be synced and corresponding React Element will be pre-selected, we just have to scroll to its position now.
- Loading branch information