Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Cursor bigger than the text in Safari #6108

Open
MaxPlav opened this issue May 15, 2024 · 1 comment
Open

Bug: Cursor bigger than the text in Safari #6108

MaxPlav opened this issue May 15, 2024 · 1 comment

Comments

@MaxPlav
Copy link
Contributor

MaxPlav commented May 15, 2024

Currently, a cursor can be much bigger than the text where it's placed. The bug is reproducible in the latest Safari. I've checked the same in the latest Chrome and Firefox - no issues.

Lexical version: 0.15.0
Safari: 17.4.1

Steps To Reproduce

  1. Open https://playground.lexical.dev in Safari
  2. Insert an image
  3. Add text after the image.
  4. See the cursor size.

The current behavior:

Screen.Recording.2024-05-15.at.10.30.12.mov

The expected behavior

The cursor size is similar to the text font size.

@StyleT
Copy link
Contributor

StyleT commented May 21, 2024

HI!

Just wanted to double-check here... Are you sure this is a bug? Since cursor height here is of a size of the line-height that is determined by the image... So maybe it's actually by design.

But I may be totally off here in my logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants