SVG element has position:absolute. Why?
janwillemtulp opened this issue · comments
Jan Willem Tulp commented
The SVG element that is created in the constructor has a style property position: 'absolute'
. Why? Currently this messes up my design, and I have to disable it explicitly. It would be great if this would be removed, and if you want it, you can set it yourself.
Adam Pearce commented
I added it to support stacking different divs.
Maybe it should be disabled if you're not passing in layers
, along with a note in the docs explaining that layers
also sets position: 'absolute'
.
Sorry about all the rough edges! Thanks for the bug reports.
Jan Willem Tulp commented
No problem! The workaround was easy! :)