Firefox 71.0 on linux won't add the text: after the prompt, I can see a flicker of the "shape options" appear and disappear in the sidebar, and nothing in the drawing area.
It works fine with chromium.
Can you provide a video?
I can repro on Win, so this seems platform independent. The element is still created, but for some reason is invisible or doesn't have dimensions.
It's https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics TextMetrics.actualBoundingBoxAscent, only supported by Chrome and Safari.
Will submit a PR shortly.
Most helpful comment
It's https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics
TextMetrics.actualBoundingBoxAscent, only supported by Chrome and Safari.Will submit a PR shortly.