Skip to content
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

Delimiter 'spacebar'-key doesn't work correctly - tag is added only after another text input is performed #1277

Closed
3 tasks done
Levivb opened this issue Jan 9, 2024 · 1 comment

Comments

@Levivb
Copy link

Levivb commented Jan 9, 2024

Prerequisites

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

💥 Demo Page

https://jsbin.com/mosuvudoku/edit?html,js,output
Screenshot 2024-01-09 at 09 55 54

Explanation

  • Typing a space after text input will add the entered text as tag just like typing a comma does.

  • The tagify input waits for more text input and only adds the text as tag after another character is entered. That extra character is added as tag as well. Creating incorrect tags and broken text.

  • The only 'custom' configuration when creating Tagify is delimiters: ',| ',
    Which corresponds with the documentation for adding a space to the delimiters.

See difference - second part of the screencast (.mov files):
Tagify 2.31 - 1.8MB
https://github.com/yairEO/tagify/assets/2494320/cdd32134-b0b5-4705-88bf-fc5ea9ad3671

Tagify 4.18 - 1.7MB
https://github.com/yairEO/tagify/assets/2494320/26c23d1f-042c-454b-8966-7e68a20e63c9

@yairEO yairEO closed this as completed in af15966 Jan 11, 2024
@Levivb
Copy link
Author

Levivb commented Jan 11, 2024

You'r a hero! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant