Dismissing autocomplete of username

OK I just tweaked this so @completions are far less annoying.

  • I can now @sam click anywhere and have it autocomplete collapse

  • I can also I can type @slowt real quick and hit space and stuff is not autocompleted by mistake

  • I can arrow around when an autocomplete box is open and it collapses at the correct time without eating up any arrow keys.

https://github.com/discourse/discourse/commit/b9e87320185a104c697cfb27835c0782d6a455da

7 Likes