You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive some exceptions with your plugin when I use it with tabs. The first panel is well rendered (if it's the active one), but not the others (which are hidden by default) :
The problem comes from line 214 :
var textWidth = dummyText.node().getBBox().width;
It seems getBBox() does not work very well in Firefox when using it inside tab panels.
This issue advises to use getBoundingClientRect() instead of getBBox(), and it works for me.
By the way thank you for this plugin !
The text was updated successfully, but these errors were encountered:
Hello,
I receive some exceptions with your plugin when I use it with tabs. The first panel is well rendered (if it's the active one), but not the others (which are hidden by default) :
The problem comes from line 214 :
var textWidth = dummyText.node().getBBox().width;
It seems
getBBox()
does not work very well in Firefox when using it inside tab panels.This issue advises to use
getBoundingClientRect()
instead ofgetBBox()
, and it works for me.By the way thank you for this plugin !
The text was updated successfully, but these errors were encountered: