1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Enter key does not work when tagging a user

Discussion in 'Resolved Bug Reports' started by oman, Aug 2, 2014.

  1. oman

    oman Well-Known Member

    How to replicate:

    Start to tag someone with the @ key. Once you've entered the name of that person, and the menu pops up with users to select, press enter and it will leave a space instead of a new line.

    Screenshot:

    editorenterpressontag.gif

    Tested on Google Chrome. Not sure about the other browsers.
     
    Amaury likes this.
  2. Amaury

    Amaury Well-Known Member

    Confirmed.

    This has actually been around since tagging was implemented. I just thought it was intentional, but we'll see. :)
     
    oman likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    It is intentional. I definitely wouldn't want a new line appearing there...

    Tagging users is generally supposed to be done inline so although sometimes you might want to do:

    @oman

    Thanks for your message


    More often than not you might be saying something like:

    @oman posted a good message today.


    The difference is, certainly on the second scenario, I generally use the keyboard to select the name of the person I'm tagging and then hit enter to confirm. So, I definitely wouldn't want a new line to appear as a result of me using enter to select a user.
     
    Amaury and oman like this.
  4. Mike

    Mike XenForo Developer Staff Member

    If the autocomplete menu is open, up/down/enter will always perform the action on it.
     
    Amaury and oman like this.

Share This Page