-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Description
When interacting with the section on the left side (shows hand icon gesture), the text cursor becomes invisible. Typing still works, but the cursor is not visible until after some time. Clicking in the editor does not make it visible immediately.
Steps to Reproduce
- Open a Lexical editor instance.
- Grab or drag the left-side section (hand gesture icon area).
- Observe that the text cursor disappears.
- Try typing: text appears but cursor remains invisible.
- Wait for some time: cursor reappears.
Expected Behavior
The cursor should remain visible and follow the typing location regardless of dragging or interacting with the left section.
Actual Behavior
Cursor disappears temporarily after interacting with the left section, even though typing still works. This happened on Firefox only, Chrome and Edge Works Fine
Demo
Environment
- Lexical version: 0.39.0
- Browser: Firefox 146.0.1.
- OS: Windows
- Node version: 20.19.5
Additional Context
- This behavior may be related to cursor state or selection handling when the left-hand section is manipulated.
Impact of fix
This bug causes confusion for users because the text cursor is invisible after interacting with the left-hand section. Users can still type, but they cannot see where their input will appear, leading to potential mistakes. Fixing this will improve the editing experience and reduce user frustration, especially for Firefox users. All users editing in this scenario will benefit.