nbarrowman / vtree

An R package for calculating and drawing variable trees
https://nbarrowman.github.io/vtree
75 stars 6 forks source link

fix for window.resize when vtree not visible #18

Closed trafficonese closed 3 years ago

trafficonese commented 3 years ago

If the vtree is on a Shiny-tabpanel, that is currently not visible, the following error will occur in the browser console. The vtree has to be intialized first.

# Uncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable

By changing the jquery selector, this should be fixed.