facebook / facebook/lexical

Bug: Lexical still focused after clicking outside in Firefox

Open
#7,788 2 comments 0 reactions 0 assignees View on GitHub
firefox-bug selection
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 16h
Merged PRs (30d)
61

Description

Lexical version: v0.34.0

## Steps To Reproduce

1. Go to Lexical Playground in Firefox (142.0.1)
2. Clear Editor
3. Paste following content
**foo**
bar
4. Move Cursor to start of content and click
5. Move Mouse over second content row
6. Move Mouse to right until cursor is outside of the editor
7. Click

## The current behavior
Lexical is still focused

## The expected behavior
Lexical loose focus by clicking outside

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Lexical Playground using Firefox 142.0.1 and the listed steps, then trace the editor focus behavior when clicking beyond the content boundary. Done means clicking outside the editor reliably removes focus without regressing the described editing flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.