facebook / facebook/lexical

Bug: Floating Toolbar Appears Incorrectly on Empty Space Selection

Open
#5,520 1 comment 0 reactions 0 assignees View on GitHub
playground selection
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 16h
Merged PRs (30d)
61

Description

Lexical version: 0.12.0

## Steps To Reproduce

1. Go to playground
2. Create a bullet list
3. Try to highlight bullet lists
4. You should see that sometimes floating toolbar appears sometimes not.

https://github.com/facebook/lexical/assets/127859730/0bbebda7-d0d8-4184-8f8d-23cc3560869c

Link to code example: N/A

## The current behavior

- It displays floating toolbar sometimes.

## The expected behavior

- The floating toolbar should not be displayed when empty space is selected.

Contributor guide

Open the contributing guide

Research direction

Start in the Lexical playground and reproduce the behavior using a bullet list, as described in the issue. Inspect the floating toolbar behavior during empty-space selection; done means the toolbar is not displayed for an empty selection, while the reproduction steps no longer show intermittent behavior.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.