Clicking a token from `gl-filtered-search` causes unexpected behavior
Tokens 'feel' like they should be clickable to be substituted with values that take the same argument type.
For example, that it should be possible to click Author and change it to Assignee or Approved-By.
What actually happens when clicking these is unusual and unpredictable:
- Token becomes editable with cursor at the end.
- Backspacing shows a dropdown of suggestions.
- The only suggestion is the current token, even if others match.
- Clicking on the suggestion in the dropdown doesn't do anything.
- Clicking away or hitting tab refills the token and all appears to be well.
bonus
- Focusing the input again places the cursor at the end of the filter value, as you'd expect.
- Backspacing ... starts deleting characters from the token.
- There is no escape. If you want to edit the filter you have to click the 'x' on the filter value to remove both.
Video demo (sorry, keystrokes aren't visible. Hopefully it's implied when I'm hitting backspace):
Edited by Katie Macoy
