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

Autocomplete on Android Phone doesn't move the cursor/caret #19

Open
cdaven opened this issue May 31, 2022 · 1 comment
Open

Autocomplete on Android Phone doesn't move the cursor/caret #19

cdaven opened this issue May 31, 2022 · 1 comment

Comments

@cdaven
Copy link

cdaven commented May 31, 2022

When I use the soft keyboard's autocomplete on my pretty new Android phone (Chrome browser, SwiftKey keyboard), the cursor/caret ends up before the inserted word, as if it didn't move at all.

Example:

I press in turn the suggested words at the top of my soft keyboard: "I", "am", "currently", "working on", "the", "next". This is what I end up with:

 am currently working on the next I

Note the leading space. The cursor/caret is blinking just to the left of "I".

@SmilyOrg
Copy link
Owner

Interesting! I think this is specific to the plugin as it seems to work fine in vanilla Monaco.

It could be due to the way internal text state is updated that works differently on mobile.

I'll take a look when I get the chance, thanks for reporting!

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

No branches or pull requests

2 participants