Skip to content

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

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

etrepum merged 3 commits into
meta: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

vercel Bot commented Jun 27, 2025 •

Copy link
Copy Markdown

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.

@etrepum etrepum left a comment

Copy link
Copy Markdown
Collaborator

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

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 83422b82 Deployed Jun 30, 2025 by vercel[bot]
Preview – lexical — 83422b82 Deployed Jun 30, 2025 by vercel[bot]
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