facebook / facebook/lexical

Feature: fake selection improvement

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

Description

## Description
Current implementation of `SelectionAlwaysOnDisplay` is not good, infact its worst, only a background color is applied to the fake selection but if certain text is having background color then selection gets skipped (selection is not visible) for that part of text

Either it should be configurable with background color and text color or something better

Contributor guide

Open the contributing guide

Research direction

Locate the implementation and usage of SelectionAlwaysOnDisplay, then reproduce the reported case with text that already has a background color. Read the surrounding selection-rendering behavior and existing tests, if present. Done should mean the fake selection remains visible over such text and the chosen behavior is clearly specified and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.