Skip to content Skip to sidebar Skip to footer

SVG GetBBox Function Returns Zero In FireFox & Edge (but Not In Chrome)

I have an svg element (created with D3). while in chrome the 'getBBox' function works fabulously, it fails in fireFox and Edge. Thought I saw this discussion in couple of places(e

Solution 1:

Ok, i found what was wrong.

Chrome can handle "g" elements with "display : none". but Firefox and edge treat it as "non-existing/zero dimensions".

sorry for the fuss.


Post a Comment for "SVG GetBBox Function Returns Zero In FireFox & Edge (but Not In Chrome)"