# Double clicking on tags input causes loss of focus when editing a topic

**URL:** https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036
**Category:** Bug
**Created:** [January 7, 2025, 4:47pm UTC](https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036 "2025-01-07T16:47:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![noahl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/noahl/32/552343_2.png) [@noahl](https://meta.discourse.org/u/noahl)
#### Post date: [January 7, 2025, 4:47pm UTC](https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036/1 "2025-01-07T16:47:42Z")

</div>

When editing a topics tags, double clicking on the input causes it to loose focus, meaning typing doesn’t offer the auto suggest.

**Steps to reproduce** :

- Edit a topic
- Click on the tags input (it should now be focused)
- Click on the tags input again (it should now loose the focus ring, but still be focused and allow keyboard input)

**Result** :

- Slight inconvenience when it’s not focused and you’ve been typing to try and find tags

Every good bug report has a demo - so that’s what I have too 🤪

[https://video.wixstatic.com/video/ed437f\_77d467ddc48a4b3c8e73eb1a2fb468ce/720p/mp4/file.mp4](https://video.wixstatic.com/video/ed437f_77d467ddc48a4b3c8e73eb1a2fb468ce/720p/mp4/file.mp4)

---

<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: [January 9, 2025, 12:29am UTC](https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036/2 "2025-01-09T00:29:32Z")

</div>

OMG @noahl AT LAST.

I have been hunting for this repro for many many months. It gets so confusing as an end user cause you “think” autocomplete is broken.

We will get this sorted and report back.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [January 9, 2025, 9:33am UTC](https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036/5 "2025-01-09T09:33:08Z")

</div>

Very annoying, here on Meta too! Thanks for reporting this.

---

<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: [January 24, 2025, 4:26am UTC](https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036/6 "2025-01-24T04:26:41Z")

</div>

This should be fixed once this is merged!

[https://github.com/discourse/discourse/pull/30975](https://github.com/discourse/discourse/pull/30975)

---

<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: [January 31, 2025, 9:00pm UTC](https://meta.discourse.org/t/double-clicking-on-tags-input-causes-loss-of-focus-when-editing-a-topic/346036/7 "2025-01-31T21:00:45Z")

</div>

This topic was automatically closed after 7 days. New replies are no longer allowed.
