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
I am trying to center an item in the VariableSizeTree using the scrollToItem method but there seems to be an offset if we are above the half of the tree and below when below the half of the tree. The offset seems to grow the further up/down the item is from the center. There are some items that are roughly 50px but most are 28px. Anyone else experienced this? Any ideas on what could be wrong?
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
-
Hi!
I am trying to center an item in the VariableSizeTree using the scrollToItem method but there seems to be an offset if we are above the half of the tree and below when below the half of the tree. The offset seems to grow the further up/down the item is from the center. There are some items that are roughly 50px but most are 28px. Anyone else experienced this? Any ideas on what could be wrong?
Thanks
//Eric
Beta Was this translation helpful? Give feedback.
All reactions