-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow inspecting scroll position of the new tree #64749
Comments
I am now using the new tree with the settings editor (much more straightforward than the search view, and the dynamic sizing works great!), but a couple things won't work quite right without this. |
@joaomoreno do you think you'll be able to get to this this month? |
Verification: please code review. |
Awesome, thanks. Is it possible to get the same behavior as the old version where it looks at how far the top element is scrolled off the page: I can try it if you can tell me what's the best way to get the scroll position of an item? |
|
We should not do verification through code review. Steps? |
I think this is the only place these tree APIs are used. |
The settings tree uses these API from the old tree to implement syncing the visible elements with the TOC:
This is also used to handle the case when we tab out of the virtualized tree and have to manually scroll down to get to the next element:
The text was updated successfully, but these errors were encountered: