Skip to content

Bug: Unable to use Lexical with Apple Pencil #7542

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

Open
circlingthesun opened this issue May 16, 2025 · 1 comment · May be fixed by #7545
Open

Bug: Unable to use Lexical with Apple Pencil #7542

circlingthesun opened this issue May 16, 2025 · 1 comment · May be fixed by #7545
Labels

Comments

@circlingthesun
Copy link

Lexical version: v0.31.1

Steps To Reproduce

  1. Go to the playground on Safari using iPad with iPadOs 18.5 and an Apple Pencil
  2. Tap on the screen somewhere in the editor with the Apple Pencil to move the selection
  3. Using the Apple Pencil open the Insert dropdown, select Image, then insert the Sample image
  4. Notice that no sample image was inserted
  5. Tap with your finger on the somewhere in the document and perform the same steps
  6. Notice that a Sample image was still not inserted
  7. Refresh the page and perform the sample image insert using your finger
  8. Notice that the image inserts fine if you avoid touching the editor with your Apple Pencil

The current behavior

IMG_1613.MOV

The expected behavior

I expect to be able to insert images using an Apple Pencil

Impact of fix

This bug prevents anyone from interacting with Lexical using an Apple Pencil

@circlingthesun circlingthesun changed the title Bug: Bug: Unable to use Lexical with Apple Pencil May 16, 2025
@etrepum
Copy link
Collaborator

etrepum commented May 17, 2025

I'm not sure any of the maintainers have all of the equipment required to reproduce this issue, you will probably have to provide some more detail about which events are happening here and how they differ between the pencil and touch or submit a PR to fix it yourself.

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

Successfully merging a pull request may close this issue.

2 participants