amsik / liquor-tree

Tree component based on Vue.js
MIT License
398 stars 95 forks source link

[bug] Node.hide() loses the node in the mounted hook #216

Open simonadler1 opened 4 years ago

simonadler1 commented 4 years ago

I am trying to conditionally render a node so I run Node.hide() on a specific node in the mounted hook. I am unable to Node.show() a hidden node anywhere besides the mounted hook where i call .hide(). From my console logs it appears the node is not even being rerendered. Heres an example of the bug https://jsfiddle.net/adlershimon/04pLuw26/10/ after clicking change value the third conditional node should appear