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

When using classNames on certain entries with Tailwind classes that contain a colon, errors occur. #737

Closed
3 tasks done
NullVoxPopuli opened this issue Feb 10, 2021 · 1 comment

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented Feb 10, 2021

Prerequisites

  • I am running the latest version (3.22.1)
  • 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/bucixunuxi/2/edit?html,js,output

Explanation

  • What is the expected behavior?

Tagify doesn't use classNames as selectors, as there is a lot of variability. I'd expect some internal IDs / guids to be used, or some reference system that doesn't need to query the DOM once the DOM is written to? idk.

  • What is happening instead?

Tagify is using classNames as selectors

  • What error message are you getting?
Uncaught DOMException: Element.querySelector: '<the entirety of the classNames list>' is not a valid selector
@yairEO
Copy link
Owner

yairEO commented Feb 11, 2021

Closing as you opened the exact same issue twice
#738

@yairEO yairEO closed this as completed Feb 11, 2021
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

2 participants