# 使用 @用户名 下拉菜单有时会删除用户名后的字符

**URL:** https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752
**Category:** Bug
**Created:** [2019年五月15日 01:25 UTC](https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752 "2019-05-15T01:25:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ellibereth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellibereth/32/202896_2.png) [@Ellibereth](https://meta.discourse.org/u/Ellibereth)
#### Post date: [2019年五月15日 01:25 UTC](https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752/1 "2019-05-15T01:25:31Z")

</div>

To reproduce:

1. Type 1234 (or any string) in the composer.
2. Type an @ before the 1234 (to get `@1234`)
3. Select someone from the dropdown.
4. Hit backspace 2 or 3 times
5. Select the person from the dropdown again.
6. The beginning of the 1234 gets deleted.

---

<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: [2020年二月13日 06:31 UTC](https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752/3 "2020-02-13T06:31:31Z")

</div>

这个问题 @Ellibereth 还能复现吗？

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2020年二月13日 06:37 UTC](https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752/4 "2020-02-13T06:37:22Z")

</div>

是的，这个问题仍然可以复现。我几个月前曾尝试修复，但对当时的解决方案不太满意。我应该再试一次。

---

<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: [2023年五月8日 03:53 UTC](https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752/5 "2023-05-08T03:53:31Z")

</div>

这已修复，我在去年修复了另一个定位错误。

---

<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: [2023年五月8日 03:53 UTC](https://meta.discourse.org/t/using-username-dropdown-sometimes-deletes-characters-after-the-username/117752/6 "2023-05-08T03:53:33Z")

</div>


