Hello! Thanks for this great library. I noticed that the input was ignoring the last tag added if the user simply left the input without hitting enter, etc. Obviously most users would notice that the tag doesn't look right, but some users assume that their typed text is also being included.
I added a prop called addTagOnBlur which, as the name suggests, adds the tag when the user moves on. I set it to false by default as to not break any current implementations, though I don't think it'd be too harmful to enable by default.
Hello! Thanks for this great library. I noticed that the input was ignoring the last tag added if the user simply left the input without hitting enter, etc. Obviously most users would notice that the tag doesn't look right, but some users assume that their typed text is also being included.
I added a prop called
addTagOnBlur
which, as the name suggests, adds the tag when the user moves on. I set it to false by default as to not break any current implementations, though I don't think it'd be too harmful to enable by default.Thanks again for the library!