Uh oh!
There was an error while loading. Please reload this page.
Conversation
etpinard
commented
Apr 17, 2019
Brilliant fix! Wanna try to 🔒 this down in a test? Good news: |
antoinerg
commented
Apr 17, 2019
It works on branch
I added a test in |
etpinard
commented
Apr 17, 2019
One of my favourite bug fixes of the year so far. 💃 💃 💃 |
jonmmease
commented
Apr 17, 2019
Awesome!!! 🎉 |
etpinard
commented
Apr 17, 2019
To be released in tomorrow morning's |

Closes#2616
The fix was tested in
Mozilla Firefox 62.0.3in Linux. I try to fix the following misbehaving routine in FF:plotly.js/src/lib/svg_text_utils.js
Lines 22 to 24 in fe842c4
However, after inspecting the DOM in Firefox, it turns out that it sets the size of the embedded
svg.gtitle-mathelements to a very large value. However, it sizes properly its first and only child element. We use this one instead when callinggetSize().Codepen before: https://codepen.io/antoinerg/pen/oOEaPz
Codepen after: https://codepen.io/antoinerg/pen/ZZrqmd
Before:


After: