Repository navigation
v5.1.0
Features
- The
heightprop now accepts a CSS value or"auto"as well as pixels. A CSS
value ("100%","50vh","calc(100% - 2rem)") is applied to the tree element
and measured, so a tree can fill its parent without a resize observer of your
own."auto"grows the tree to fit its rows. A newmaxHeightprop caps that
growth and keeps the list virtualized:height="auto" maxHeight="100%"is as
tall as the rows or the parent, whichever is shorter. Trees with a numeric
heightmeasure nothing and behave as before (issue #86). (#386)