Sometimes I want to post comments that include @-notifications but can't work the names into the comment text organically. In those cases, I write my comment out and then tack on a @JohnDoe at the end, which works just fine.

Well, it did work, until the otherwise-awesome new name autocompleter was introduced. Now I type out @JohnD and hit Tab, and the whole name appears, but I can't submit the comment by pressing Enter anymore. The Enter key just does nothing. And actually, it doesn't matter if I tab-complete the name or not.

I don't think it's just me because it happens on multiple computers, although they're both running Win7 Pro and recent Firefoxes. Also, I would understand — but disagree — if this was considered "not a bug, just reword all your comments that end this way."

As the ever-intrepid pseudo-employee Tim Stone pointed out in the comments, what I initially reported is a special case of a more general problem: Enter submission of comments fails whenever the tab complete suggestions are being shown.

  • 1
    Since this won't happen if I reference @Pop (because he's the post owner and therefore not eligible for autocomplete), I'm posting a comment so that others can attempt to reproduce here.
    – Shog9
    Sep 22, 2011 at 18:24
  • Attempting to repro @Shog9
    – user154510
    Sep 22, 2011 at 18:27
  • 1
    Repro failed, Enter still worked. Chrome 14.0.835.186 beta-m / XP.
    – user154510
    Sep 22, 2011 at 18:27
  • 1
    Another attempt on IE8/XP @Shog9. Success, Enter did not work. After submission, comment box also still contains my text instead of being reset to blank.
    – user154510
    Sep 22, 2011 at 18:29
  • Ew. Trailing spaces are icky. But we'll see if it works. @Shog9 (EDIT: It does, and the trailing space is trimmed automatically.)
    – Pops
    Sep 22, 2011 at 18:36
  • 1
    The problem is more generally that you can't submit a comment if the tab-complete suggestion is shown, by the way (which just happens to occur naturally when the @mention is at the end of the comment).
    – Tim Stone
    Sep 22, 2011 at 19:04
  • Attempt with Firefox 3.6 on Vista @Shog9 EDIT: works only with the space workaround - yuck. Sep 22, 2011 at 19:07
  • Thanks @TimStone, I hadn't tested that! I reproed it with this comment, and will add it to the question now.
    – Pops
    Sep 22, 2011 at 19:09
  • Tangentially related: meta.stackexchange.com/questions/63644/…
    – Pops
    Sep 22, 2011 at 19:13
  • Who the bloody hell drops names at the end of the comment? Tidy it up, guests are arriving
    – random
    Sep 22, 2011 at 22:50

2 Answers 2


This was fixed in September 27, 2016 as part of upgrading the version of jQuery used by SE. Enter now submits the comment even when the autocomplete suggestions are visible.


Work around: After you've typed the name, hit space. Then hit enter.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .