[tree] detect itemHeight
jasonLaster opened this issue · comments
Jason Laster commented
The tree component assumes itemHeight
will be passed in. The problem is that the height often changes and is then wrong.
It would be great if the tree could calculate the itemHeight
when it mounts.
Nicolas Chevobbe commented
we don't have itemHeight anymore.
It was used to do some virtualization but wasn't used.
What is the original issue ?
Jason Laster commented
that the heights are not accurate when you scroll because we were using the wrong value for itemHeight :)
Nicolas Chevobbe commented
I am pretty sure we do not set the height of elements on the Tree component.
Here's how we handle scrolling :
Nicolas Chevobbe commented
Closing this as INVALID, feel free to re-open it if you think I'm wrong :)