facebook / facebook/lexical

Bug: cursor size does not align with font-size

Open
#5,654 1 comment 0 reactions 0 assignees View on GitHub
all-platforms-bug
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 16h
Merged PRs (30d)
61

Description

in https://playground.lexical.dev/

type anything and make font-size bigger.

In the next paragraph, the cursor is still small. And when you type the font-size still remains big, making the cursor bigger, thus creating a inconsistent feeling for the user.

image

image

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in https://playground.lexical.dev/ by increasing the font size, moving to the next paragraph, and typing. Compare the cursor size before and after typing and verify that the cursor and inserted text remain visually consistent with the selected font size.

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.