Skip to content

don't autocomplete while isComposing - #12565

Merged
tyrasd merged 3 commits into
developfrom
kh/composing
Jul 28, 2026
Merged

tyrasd merged 3 commits into
developfrom
kh/composing

Conversation

@k-yle

@k-yle k-yle commented Jul 14, 2026 •

Copy link
Copy Markdown
Collaborator

closes #11283, closes #11441, closes #11057, closes #9011, closes #6502, kinda closes #12570 ?

Test case 1: use the zh-pinyin keyboard layout, and type e r →1

  • Before: the "candidate window" disapears, and iD's autocomplete takes over
  • After: → navigates rightward through the "candidate window"
image

Test case 2: use the mi or en-NZ keyboard layout, and type ` e1

  • Before: iD's autocomplete disappears after pressing the dead key
  • After: autocomplete still works after the deadkey ` disappears

Test case 3: on a mobile device, use any keyboard layout and type using autocomplete suggestions

  • Before: iD's autocomplete is inserted ahead of the cursor and results in frequent select/deselect popovers
  • After: autocomplete still works, but the automatic insertation is disabled

Footnotes

  1. assuming your account has a recent changeset that start with the character e. ↩ ↩2

@k-yle k-yle added the localization Adapting iD across languages, regions, and cultures label Jul 14, 2026
@k-yle

k-yle commented Jul 14, 2026 •

Copy link
Copy Markdown
Collaborator Author

tested on mobile, it certainly seems better, but I don't speak any CJKV languages, so I'm probably not the best person to be testing this

(light mode = osm.org, dark mode = PR preview)

ScreenRecording_07-14-2026.20-12-51_1.mp4

@k-yle

k-yle commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

i confirmed that this works on firefox mobile too

@matkoniecz

Copy link
Copy Markdown
Collaborator

@FormularSumo (from #11441 )

@sekerob (from #11057 )

@martinoscag (from #9011 )

Can you test new behavior? It is linked above at ' deployed to pr-preview-12565 last week '

Or you can open test instance directly at https://pr-12565--ideditor.netlify.app/

@FormularSumo

FormularSumo commented Jul 21, 2026 •

Copy link
Copy Markdown

I've tested the updated autocomplete on Vivaldi, Firefox and iOS and it's working great for me!

Vivaldi (Android)

https://photos.app.goo.gl/bSYpUzaLfhoCLGGm6

Before - changeset comment would autocomplete when you tapped outside of the text box, previously autocomplete filled as soon as it had a match of two or more letters
After - changeset comment doesn't autocomplete unless you click on one of the autocomplete suggestions

Firefox (Android)

https://photos.app.goo.gl/3vkNDCPvy8ykCmw7A

Before - no autocomplete at all since 4956a03, previously autocomplete filled as soon as it had a match of two or more letters
After - changeset comment doesn't autocomplete unless you click on one of the autocomplete suggestions

iOS

Recording on Vivaldi, but should be the same across all browsers still...
https://photos.app.goo.gl/W9MSncafN81bZTPDA

Before - changeset comment would autocomplete when you tapped outside of the text box
After - changeset comment doesn't autocomplete unless you click on one of the autocomplete suggestions

Summary

The autocomplete now works as expected (only when you press on it), and it works the same across all mobile browsers, which is fantastic. Thanks for doing this!

@tyrasd
tyrasd merged commit bddaeae into develop Jul 28, 2026
4 checks passed
@k-yle
k-yle deleted the kh/composing branch July 28, 2026 10:11

This branch was successfully deployed

1 active deployment
pr-preview-12565 — c7711abe Deployed Jul 28, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

localization Adapting iD across languages, regions, and cultures

Projects

None yet

4 participants