The interaction of autocomplete and selection is broken.
Repro:
Start with two options, "one" and "two" (in that order, in the autocomplete box)
Use the arrows to select "two":
Type "on":
The behavior should be:
✅ autosuggest suggests "one"
❌ the selection should move to "one"
Type "three":
The behavior should be:
✅ no autocomplete suggestion
❌ the selection should be empty
Because the selection doesn't get updated, if the user then hits or , we autofill the selection. This means that with "two" selected, typing "on" results in the field containing "one" instead of "two".
The interaction of autocomplete and selection is broken.
Repro:
The behavior should be:
The behavior should be:
Because the selection doesn't get updated, if the user then hits or , we autofill the selection. This means that with "two" selected, typing "on" results in the field containing "one" instead of "two".