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

Fix not working two step caret movement on iOS devices. #17481

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Mati365
Copy link
Member

@Mati365 Mati365 commented Nov 18, 2024

Suggested merge commit message (convention)

Fix (typing): Fix not working two-step caret movement on iOS devices. Closes #17171


Additional information

It looks like mousedown events behaves differently on iOS and Android. On iOS, it's called after selection change, but on Android it's called immediately after touchstart which happens before selection change. I added touchstart event observer, to track clicks before selection change occurs.

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

Successfully merging this pull request may close these issues.

iOS: When you add a space after the link, formatting as link is still being added
1 participant