excalidraw icon indicating copy to clipboard operation
excalidraw copied to clipboard

Typing inside an object on Firefox only displays the current word

Open NickantX opened this issue 2 years ago • 10 comments

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.

NickantX avatar Mar 08 '24 21:03 NickantX

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?

dwelle avatar Mar 09 '24 12:03 dwelle

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

NickantX avatar Mar 13 '24 20:03 NickantX

Can confirm this is an issue on Mac Firefox v123.0.1. No extensions enabled

JonNode28 avatar Mar 17 '24 08:03 JonNode28

Happens to me on Mac Firefox 124.0.1. Does not happen on Mac Chrome.

vojtapol avatar Mar 22 '24 14:03 vojtapol

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.

neeerp avatar Nov 10 '24 13:11 neeerp

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)

sarasilvaworkera avatar Nov 13 '24 16:11 sarasilvaworkera

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).

dwelle avatar Nov 13 '24 19:11 dwelle

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.

neeerp avatar Nov 13 '24 19:11 neeerp

I've not seen this happen for a while now and I use excalidraw daily

JonNode28 avatar Nov 14 '24 06:11 JonNode28

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

sarasilvaworkera avatar Nov 14 '24 09:11 sarasilvaworkera

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

opheliagame avatar Feb 20 '25 07:02 opheliagame