facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
17.5k stars 1.45k forks source link

Bug: (Firefox) Caret disappears after dragging a block #5933

Open JonasGruenwald opened 3 weeks ago

JonasGruenwald commented 3 weeks ago

Lexical version: I am trying the playground as it is deployed right now, can't see a version indicated there but I'm assuming it deploys from this repository so I guess it should be the latest?

Steps To Reproduce

  1. On Firefox (macOS intel, latest, 125.0.1 (64-bit) open https://playground.lexical.dev
  2. Move one of the text blocks with drag and drop
  3. Try to edit some text

The current behavior

The caret disappears after the drag and drop action, but selection and editing is still possible as if it were there

The expected behavior

The caret should not disappear after dragging a block. It works fine for me in Safari and Chrome.

https://github.com/facebook/lexical/assets/26603037/536fb693-563c-478d-b4e4-bfe7b2b9e0d5

Git-Codder commented 3 weeks ago

Hi @JonasGruenwald, could you check it again...? , as it's working fine at my side in firefox & mac-os. let me know if it's still not working

JonasGruenwald commented 3 weeks ago

Hi @JonasGruenwald, could you check it again...? , as it's working fine at my side in firefox & mac-os. let me know if it's still not working

I just checked again on a different MacBook, and the issue is still exactly the same as in the video I recorded. I checked both on Intel and Arm macs in the latest firefox.

renrutsirhc commented 1 day ago

I have the same issue on windows - tried on both firefox 125.0 and 126.0.