At.js
At.js copied to clipboard
Editing mention causes duplicates
Hi
Great work on this so far!
Been having an issue, not 100% sure if it is an issue or expected behavior? Please see below:

Basically what is happening here:
- start mention, and select an option.
- either select the mention text / move the cursor back to any place in the mention to get the popup again.
- select a new mention.
- the new mention get added, but the old one will still be in the textbox.
Should the old mention not be removed? As the users on our side who were testing this, and expected it to replace the old mention.
Regards Sean
I have the same issue and I'm wondering how to fix it.