Excalidraw: Firefox cannot add text

Created on 5 Jan 2020  路  3Comments  路  Source: excalidraw/excalidraw

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.

bug

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.

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vjeux picture vjeux  路  3Comments

dharmeshkakadia picture dharmeshkakadia  路  3Comments

eggei picture eggei  路  3Comments

lissitz picture lissitz  路  3Comments

dwelle picture dwelle  路  3Comments