# Hashtag autocomplete issue

**URL:** https://meta.discourse.org/t/hashtag-autocomplete-issue/80554
**Category:** Bug
**Created:** [February 14, 2018, 5:48pm UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554 "2018-02-14T17:48:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [February 14, 2018, 5:48pm UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/1 "2018-02-14T17:48:21Z")

</div>

Noticed an issue with `#` autocomplete when composing a reply. Basically I start typing `#` in a context where I don’t want to tag something (e.g. `#s`) but even after hitting ‘space’, or several spaces, the autocomplete dialogue still shows and if I hit ‘return’ it autocompletes when I didn’t want it to.

Note: below Dropbox video link seems to not be displaying correctly as embed. Here’s the raw URL: `https://www.dropbox.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=0`

Example here:

[https://dl.dropboxusercontent.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=1](https://dl.dropboxusercontent.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=1)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [February 14, 2018, 7:27pm UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/2 "2018-02-14T19:27:58Z")

</div>

> [@bts](#):
>
> Note: below Dropbox video link seems to not be displaying correctly as embed. Here’s the raw URL: [Dropbox - Error - Simplify your life](https://www.dropbox.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=0)

Use this  
`https://www.dropbox.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=1`  
instead of this  
`https://www.dropbox.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=0`

(had already been reported by someone, now I can not find the related topic)

[https://dl.dropboxusercontent.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=1](https://dl.dropboxusercontent.com/s/dx4tlkobrx1w170/discourse-hashtag-autocomplete-bug.mov?dl=1)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 15, 2018, 2:32am UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/3 "2018-02-15T02:32:28Z")

</div>

So press ESCAPE? Not sure exactly what the value of this report is.

---

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [February 15, 2018, 2:40am UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/4 "2018-02-15T02:40:33Z")

</div>

I mean I never said it was a _major_ bug. Just reporting funky behavior / trying to be helpful. A space or a return should be enough to exit the autocomplete dialog. Of course do with it (or not) what you will 🙂 If there’s some severity threshold for reporting stuff no worries but if so I didn’t know about it and I’m on here a lot!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 15, 2018, 8:34pm UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/5 "2018-02-15T20:34:40Z")

</div>

> [@bts](#):
>
> but even after hitting ‘space’, or several spaces, the autocomplete dialogue still shows and if I hit ‘return’ it autocompletes when I didn’t want it to.

Oh, this is actually bug with how we handle tags there, after space it should definitely close.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 26, 2018, 5:37am UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/7 "2018-04-26T05:37:49Z")

</div>

Fixed per:

[https://github.com/discourse/discourse/commit/55179efdb993bc70e13fee1368219f068d4b4404](https://github.com/discourse/discourse/commit/55179efdb993bc70e13fee1368219f068d4b4404)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 27, 2018, 8:00am UTC](https://meta.discourse.org/t/hashtag-autocomplete-issue/80554/8 "2018-04-27T08:00:09Z")

</div>

This topic was automatically closed after 26 hours. New replies are no longer allowed.
