jsroot: Drawing two objects on the same page causes one to be made invisible (as of v5.1.0)
I have a case where I draw two histograms on the same page in quick succession and when I upgraded JSROOT to version 5.1.0 (from 5.0.3), both histograms are ‘plotted’ (i.e. they show up in the Chrome Developer Tools inspection) but one is visible="visible" and the other is visibility="hidden".
If it is important, the plots were simple TH1 plots, generated in ROOT beforehand.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (10 by maintainers)
Commits related to this issue
- Let resize containing HTML element only when allowed (#123) Container div dimension only can be changed when attribute 'can_resize' is specified for that element. It should be not-empty string. If at... — committed to root-project/jsroot by linev 7 years ago
- Use more strong display=none when hide SVG (#123) Instead of visibility="hidden" use display="none" property. This fully hides SVG and does not influence size of div container. — committed to root-project/jsroot by linev 7 years ago
Fine