# Dismissing autocomplete of username

**URL:** <https://meta.discourse.org/t/dismissing-autocomplete-of-username/39092>\
**Category:** Feature\
**Created:** [5 Febbraio 2016, 8:30am UTC](https://meta.discourse.org/t/dismissing-autocomplete-of-username/39092 "2016-02-05T08:30:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![redbassett](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/redbassett/32/121978_2.png) [@redbassett](https://meta.discourse.org/u/redbassett)\
**Post date:** [5 Febbraio 2016, 8:30am UTC](https://meta.discourse.org/t/dismissing-autocomplete-of-username/39092/1 "2016-02-05T08:30:18Z")

</div>

I like the implementation of user tagging that autocompletes usernames after I type a `@` symbol. The autocomplete window that pops up, however, is hard to dismiss. Attempts to either use the right-arrow key or clicking the cursor elsewhere in the text before hitting return still autocomplete the first suggested username instead of allowing me to type something arbitrary after an occurrence of `@`.

For example, on a Discourse powered forum I want to type the following code snippet (using space indentation rather than ticks):

```
@hello
# more code here

```

When i enter `@hello`, I am prompted with the popup. If I hit return immediately, it autocompletes a username. That is fine. But if I click away (say to the end of the second line) and hit return to start a third line, the autocomplete is still filled in. Currently, the only way I have found to bypass this is to manually hit `[esc]` when the autocomplete shows up.

---

_[View the full topic](https://meta.discourse.org/t/dismissing-autocomplete-of-username/39092)._
