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
What is the proper way to scroll to an item in VariableSizeTree?
My tree is resizeable and contains long text which must be wrapped, thus it is hard to measure the initial height of each row. The row height is updated using the resize(height, force) function after the first render based on its reference's height.
On the first tree render, I would like to scroll to a specified item, but it is not accurate because at this time the nodes are not resized dynamically.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
What is the proper way to scroll to an item in
VariableSizeTree?My tree is resizeable and contains long text which must be wrapped, thus it is hard to measure the initial height of each row. The row height is updated using the
resize(height, force)function after the first render based on its reference's height.On the first tree render, I would like to scroll to a specified item, but it is not accurate because at this time the nodes are not resized dynamically.
Beta Was this translation helpful? Give feedback.
All reactions