facebook / facebook/lexical

Bug: Mouse pointer invisible on Firefox until page is clicked again (mobile/iPad/touch-size laptop)

Open
#8,091 3 comments 0 reactions 0 assignees View on GitHub
firefox-bug windows-bug
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
57

Description

**Lexical latest version on playground https://playground.lexical.dev/:**

## Steps To Reproduce

**After first click and typing:**
- Click anywhere on the page to start typing.
- Type some text.
- Move the mouse pointer — it **disappears again**.
- The pointer only reappears after clicking somewhere on the page a second time.

## The current behavior

- On Firefox, the **mouse pointer is invisible until the user clicks on the page**.
- After typing, the pointer disappears again and only returns after another click.
- Users cannot reliably see the pointer to interact with toolbar buttons, formatting options, or links in Playground.
- Other browsers (Chrome, Edge, Safari) are **not affected**.
- Laptop viewport 1280x800 does **not show this issue**.

[Demo bug](https://youtu.be/tyj1kgWqOvI)

## The expected behavior

- The **mouse pointer should always be visible**, even before any click and after typing.
- Users should be able to accurately interact with toolbar buttons, formatting options, and clickable links at all times.
[Demo expected working like in chrome and edge](https://youtu.be/1SgPZLXATU4)

## Impact of fix

- Users may **accidentally click wrong toolbar buttons or links** because the pointer is invisible.
- Breaks UX flow in Playground or editor with interactive toolbars.
- Fixing this ensures **consistent pointer visibility and accurate user interaction** across Firefox on mobile, iPad, and touch-size laptop viewports.

### Environment

- Lexical version: 0.39.0
- Browser: Firefox 146.0.1
- OS: Windows
- Node version: 20.19.5

## Notes

- Bug is **Firefox-specific**.
- Other browsers (Chrome, Edge, Safari) are unaffected.
- Critical for **accurate user interaction with editor toolbar and links**.
- Issue occurs **both initially before any click, and again after typing until another click**.
---

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.