Lodin/react-vtree

data.resize(0, true) does not update node after top position

ajredovan opened this issue · 1 comments

Currently in my Node function, I have to check if node has been flagged for removal which I pass along with the node props that are yielded in the tree walker. That all works and is able to change the height of one of the nodes to 0 but unfortunately, when I call the data.resize(), which appears to change the 'top' position of the next node, it does not appear to do anything.

Thanks! Hope that makes sense!
Screen Shot 2020-02-20 at 5 10 41 PM

Fixed!