Skip to content

Revisit touch devices - #4441

Merged
zurfyx merged 1 commit into
mainfrom
kkk
May 4, 2023
Merged

zurfyx merged 1 commit into
mainfrom
kkk

Conversation

@zurfyx

@zurfyx zurfyx commented May 1, 2023 •

Copy link
Copy Markdown
Member

OK, so after this great fix #4395 by @ibastawisi it kinda inspired me to do some research. It turns out that touch devices issues are famous, they keep coming!

I started with a fix #2901 that caused #3538

Then a fix for this #3541, but that didn't to address the desktop issue #2901 fixed in the first place. And lastly #4395


This PR is mostly a cleanup from #4395, I don't think there's anything particularly wrong with it besides it can be done without the NodeSelection restriction (just like mouse).

Screen.Recording.2023-05-01.at.1.05.51.PM.mov

TODO:

  • Test with GBoard

@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 May 1, 2023
@vercel

vercel Bot commented May 1, 2023

Copy link
Copy Markdown

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

Name Status Preview Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview May 1, 2023 5:06pm
lexical-playground ✅ Ready (Inspect) Visit Preview May 1, 2023 5:06pm

@github-actions

github-actions Bot commented May 1, 2023

Copy link
Copy Markdown

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.98 KB (-0.02% 🔽) 540 ms (-0.02% 🔽) 98 ms (+148.57% 🔺) 638 ms
packages/lexical-rich-text/dist/LexicalRichText.js 37.84 KB (-0.03% 🔽) 757 ms (-0.03% 🔽) 114 ms (+33.07% 🔺) 871 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 37.81 KB (-0.03% 🔽) 757 ms (-0.03% 🔽) 108 ms (+47.68% 🔺) 864 ms

@zurfyx
zurfyx merged commit 501f5f5 into main May 4, 2023
vyductan added a commit to vyductan/lexical-forked that referenced this pull request May 4, 2023
Allow to pass all possible attributes to a content editable div (meta#4450)
Revisit touch devices (meta#4441)
This was referenced May 23, 2023
@fantactuka
fantactuka deleted the kkk branch July 6, 2023 20:15

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — b733e215 Deployed May 1, 2023 by vercel[bot]
Preview – lexical — b733e215 Deployed May 1, 2023 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants