Tagify: Accepting a suggestion causes text box to lose focus

Created on 22 Jun 2020  路  2Comments  路  Source: yairEO/tagify

Prerequisites

  • [x] I am running the latest version
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Demo Page



The unmodified example from the bug report template exhibits the issue:
https://jsbin.com/jekuqap/edit?html,js,output

Explanation

  • What is the expected behavior?
    Typing "cc" and hitting tab to accept the ccc suggestion should add ccc and leave focus on the text box so that I can continue typing. When there is no suggestion, e.g. I type ddd and hit tab, I get the expected behaviour, I can continue adding new tags without having to refocus.

  • What is happening instead?
    The text box loses focus after accepting the ccc suggestion.

  • What error message are you getting?
    N/A

Bug

All 2 comments

Thanks a lot for reporting. I will see to it tomorrow.

Sorry I was busy with work, I will fix it very soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Oigen43 picture Oigen43  路  6Comments

raoul2000 picture raoul2000  路  6Comments

8483 picture 8483  路  4Comments

pcolmer picture pcolmer  路  4Comments

collimarco picture collimarco  路  3Comments