facebook / facebook/lexical

Bug: Decorator Nodes are hard to select with mouse pointer

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

Description

It's very hard to select two or more decorator nodes with mouse pointer in one line.

## Steps To Reproduce

1. Add two decorator nodes
2. Try to select from right to left two of them.

## The current behavior

https://github.com/user-attachments/assets/45955e61-9086-49e4-9b81-2bc199058046

## The expected behavior

Decorator node is selected quicker and does not require to move the pointer to the end of it.

## Impact of fix
Decorator nodes are more comfortable to select.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with two decorator nodes and selecting from right to left, using the attached recording as a reference. Trace the mouse-selection behavior for decorator nodes and verify that selection completes without moving the pointer to the end of the node.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.