ivirabyan / jquery-mentions

Adds mentioning support to your text fields.
http://ivirabyan.github.io/jquery-mentions/
MIT License
114 stars 49 forks source link

Can't put two mentions consecutively without a space #65

Closed conner-fallone closed 7 years ago

conner-fallone commented 7 years ago

In the example, try to mention two things like this @alex@angrybirds. You will notice that alex becomes a mention, but the dropdown will never appear for @angrybirds unless you put a space after alex

ivirabyan commented 7 years ago

I think this is a correct behaviour, since in your case '@' is a part of a word. Suppose you have autocomplete for emails: then user@example.com should not try to autocomplete "@example.com" part.

conner-fallone commented 7 years ago

I think you bring up a valid point, but what about the example in which you press enter (or click) to select an item from the dropdown. At that point, the tag is confirmed, and thus you should be able to start tagging again, regardless of a space.

ivirabyan commented 7 years ago

ok, I think we can just get rid of this restriction. Anyway, would be great to see a real world example of such a case.