Page MenuHomePhabricator

[M] Remove autocomplete suggestions with a space at the end
Closed, DuplicatePublic

Description

Sometimes, autocomplete suggestions have a space at the end. This causes 2 issues:

  • If the result is selected, the space is added to the input, which could be unexpected for the user
  • Creates the illusion of duplicate results, e.g. "dog" and "dog "

I'm guessing we just need a little Regex tweak to resolve this.

Event Timeline

CBogen renamed this task from Remove autocomplete suggestions with a space at the end to [M] Remove autocomplete suggestions with a space at the end.Aug 5 2020, 4:30 PM
matthiasmullie claimed this task.
matthiasmullie added a subscriber: matthiasmullie.

Do you have a specific example where this occurred?
I'll close this because I'm fairly certain that the fix for T263126 will also fix this, but please re-open if you do find examples where that patch didn't resolve this.