Cursor disappears after blurring and re-focusing in Firefox
rwalle opened this issue · 3 comments
rwalle commented
Reproduction steps using the official demo:
- Make any change to any file in the editor
- Switch to a different file
- Click inside the editor -- cursor no longer shows up until click somewhere else in the browser that has a cursor (e.g. browser address bar) and comes back
Reproduced on Firefox 111 and on both Windows 10 and Windows 11.
It is unclear if this is an issue in the playground-elements, codemirror or Firefox.
KonnorRogers commented
I think this is an issue with ShadowRoot + ContentEditable.
ProseMirror has the same problem and I solved it with a plugin.
AndrewJakubowicz commented
Filed a Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1850059
rwalle commented
No longer reproducible in Firefox 117.