-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagify selct mode incorrect behavior #1346
Comments
Thanks! But what about the current Regarding your first point, I don't see any issue with it, as it is expected to fire a |
but is there an option to fire it in change for example? because when whole word was deleted it was more convenient |
Why is it "more convenient"? please give me an example scenario |
For example, I use tagify for the users' list and show user names as tags. I do not need to see |
I'm confused how do you "use tagify for the users' list and show user names as tags" if the title of this issue is about "select mode", which mean only a single option may be selected (there are no tags in this mode) |
Yes, you are right. However, it is still pretty inconvenient to have a divided tag. As I see it it does not serve any real purpose. |
what do you mean can you please re-explain to me what is the issue (with the latest Tagify version)? |
Hi. Thank You for the amazing job. I have found some bugs with the
select
mode.So pre 4.19 everything was alright. However, in 4.19 you changed the behavior of the select mode so that the tag could be removed letter by letter. This leads to unexpected behavior like removing the whole words not enabling the
change
event till I click out of input and theblur
event fires (and consequentlychange
does).After 4.20 new bug appeared, so clicking into a tag with
tagify--select
class does not focus on input. Only clicking intotagify__input
(wich is significantly smaller) results in focusing the input. I had to manually track clicks ontagify--select
and making it work bytagify__input.focus()
Version 4.22 has one more very significant error. So after selecting a tag and removing it something crashes probably, changes are not being made, and dropdown stops showing
Bugs 2-3 I was not able to reproduce them, so probably they appear because I use Vue so it might be the case. But still letting you know. Bug 1 was easy to reproduce just by creating a basic
select
tagify. Versions 22+ have the same issues mentioned earlierThe text was updated successfully, but these errors were encountered: