Typing inside an object on Firefox only displays the current word
After creating a shape (rectangle, ellipse, etc), when typing inside of it, I can only see the current word I'm typing until I click out of the shape. This does not happen in Chrome or Safari, but does happen in Firefox.
Chromium sample (expected behavior):
https://github.com/excalidraw/excalidraw/assets/17260520/c03c0bd9-28cc-492c-8a8e-61eb5013229c
Firefox sample (bug):
https://github.com/excalidraw/excalidraw/assets/17260520/95402e8a-b99e-4737-a5da-9cb47dfdede4
Firefox version: 123.0.1 Chromium version: 122.0.6261.94 (ungoogled-chromium fork) Both on macOS 14.4 arm64
This doesn't seem to happen for some specific sequences of text, for example I can type "aaaa" as many times as I want and this doesn't happen, but for real words it does.
Cannot reproduce on Firefox 123.0.1 (Windows). Does it happen for you on all rectangle sizes?
Could be an extension. Does Firefox keep extensions enabled even in private windows?
Cannot reproduce on Firefox 123.0.1 (Windows). Does it happen for you on all rectangle sizes?
Could be an extension. Does Firefox keep extensions enabled even in private windows?
Maybe it's only on Mac Firefox? I do have a few extensions enabled in private windows, so I'm now testing with a clean install of Firefox Developer Edition 124.0b9. I'm observing the same behavior.
https://github.com/excalidraw/excalidraw/assets/17260520/693b0187-dfde-4f41-8256-750000d16e4c
Can confirm this is an issue on Mac Firefox v123.0.1. No extensions enabled
Happens to me on Mac Firefox 124.0.1. Does not happen on Mac Chrome.
I'm experiencing this on Arch Linux, Firefox 131.0.3. Similar issue for raw text input, only I can only see one character at a time.
Once I click out of the element I'm writing, the text appears, and if I type on that line again, the "preview" area is extended to the previous length of the box. If I start newlines, the previous text scrolls out of view until I click out of the text box again.
https://github.com/user-attachments/assets/f0d083e3-163d-43cd-99df-b354eb5461ac
Everything works fine on Chromium.
I'm also experiencing this on multiple browsers on Mac while developing (currently using https://registry.npmjs.org/@excalidraw/excalidraw/-/excalidraw-0.17.6.tgz)
Can anyone reproduce on latest firefox and latest excalidraw versions - you can open https://excalidraw.com in Private Window (shift+cmd+P) to make sure you're on latest Excalidraw version.
I'm unable to repro on Mac Firefox or Windows Firefox (v132).
Can anyone reproduce on latest firefox and latest excalidraw versions - you can open https://excalidraw.com in Private Window (shift+cmd+P) to make sure you're on latest Excalidraw version.
I'm unable to repro on Mac Firefox or Windows Firefox (v132).
Just tried on v132 on my Ubuntu laptop and seems to work fine, will try on my desktop later when I'm home.
I've not seen this happen for a while now and I use excalidraw daily
On https://excalidraw.com it works fine, but using my local development it does not. I'm using Mac and Google Chrome Version 131.0.6778.70 and excalidraw in https://registry.npmjs.org/@excalidraw/excalidraw/-/excalidraw-0.17.6.tgz
https://github.com/user-attachments/assets/c381321d-1d96-4793-bb6b-d6224271293c
Found something possibly related to this issue. It could also be another bug. Same behaviour on Chrome 133.0.6943.98 and Firefox 134.0.1. Both on Windows.
https://github.com/user-attachments/assets/0f17b821-288c-497a-9872-8e07b6445241