nbarrowman / vtree

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

fix if vtree not visible immediately #12

Closed trafficonese closed 4 years ago

trafficonese commented 4 years ago

I had the following error in my browser console, as the vtree is on a tab which is not shown at first.

Error: Provided selector did not find any elements. Selector: .grViz svg

This PR should fix that.

nbarrowman commented 4 years ago

Thanks! Sorry it took me a while to get to this.

trafficonese commented 4 years ago

no worries, I should be sorry that I didnt think about this when implementing the zooming functionality.