Skip to content

[lexical-list] Bug Fix: Make tap target for checklists bigger so touch inputs register#7655

Merged
etrepum merged 3 commits intofacebook:mainfrom
circlingthesun:fix-checklist-touch
Jul 3, 2025
Merged

[lexical-list] Bug Fix: Make tap target for checklists bigger so touch inputs register#7655
etrepum merged 3 commits intofacebook:mainfrom
circlingthesun:fix-checklist-touch

Conversation

@circlingthesun
Copy link
Copy Markdown
Contributor

Description

This makes the area in which touch events are registered bigger

Closes #7651

@vercel
Copy link
Copy Markdown

vercel bot commented Jun 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 30, 2025 10:46am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 30, 2025 10:46am

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 27, 2025
@ivailop7
Copy link
Copy Markdown
Collaborator

Does this respect CSS zoom after ignoring the calculateZoom scaling?

@circlingthesun
Copy link
Copy Markdown
Contributor Author

@ivailop7 it does now. Sorry, I didn't fully understand what was going on there. Applying zoom: 2 to the body worked in Chrome and Firefox, but I see now that it caused problems in Safari.

Copy link
Copy Markdown
Collaborator

@etrepum etrepum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work well!

I did notice that there's a bug with LexicalMenu along the way but that's unrelated to this PR: if you use the component picker to create the checklist then it will leave an empty div on top of the second checkbox preventing clicks or touches.

@etrepum etrepum added this pull request to the merge queue Jul 3, 2025
Merged via the queue into facebook:main with commit 5596e1f Jul 3, 2025
42 checks passed
fantactuka pushed a commit that referenced this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Unable to check checkboxes on iPhone

4 participants