zurb / tribute

ES6 Native @mentions
https://zurb.github.io/tribute/example/
MIT License
2.03k stars 304 forks source link

Odd behavior when "reselecting" a mention option #102

Open homerlex opened 6 years ago

homerlex commented 6 years ago

How can we reproduce this bug?

  1. Hit https://zurb.github.io/tribute/example/
  2. Type @ and select Jordan Humphreys
  3. Backspace until the cursor is on Jordan and you see the options popup.
  4. Select Jordan Humphreys again

What did you expect to happen? I expected the input value to be "@Jordan Humphreys"

What happened instead? The value changed to something "@Jordan Humphreys n Humphreys"

You can see a video here: https://www.screencast.com/t/Cl88EP7Z7

mrsweaters commented 6 years ago

Thank you for reporting! I'm able to reproduce this issue.

sandeepsukhija commented 5 years ago

@mrsweaters any updates on this?

mrsweaters commented 5 years ago

Strange, I'm not able to reproduce it anymore. Now if I backspace the mention does not reactivate unless I remove the @. Are you seeing the same thing (on master).