[BUG] tailwindcss/classnames-order, className={`relative w-full overflow-hidden ${(className)}`} not working.
See original GitHub issueclassName={relative w-full overflow-hidden ${(className)}
}
is not linting.
Expected behavior
className={overflow-hidden relative w-full ${className}
}
Environment (please complete the following information):
OS: windows10 Softwares + version used: VSCode 1.65.1 eslint-plugin-tailwindcss 3.5.0 tailwindcss 3.0.23 npm 7.23.0 node v14.17.6
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Tailwind CSS classes is not working in my project?
This error is due to tailwind not finding any classes to scan in what it 'thinks' is your HTML code directories.
Read more >Conflicting className precedence rules · Issue #1010 - GitHub
It's expected behavior. This is how html and css works, you can't change the precedence in html with the order of class-names. What...
Read more >Content Configuration - Tailwind CSS
Configuring source paths. Tailwind CSS works by scanning all of your HTML, JavaScript components, and any other template files for class names, ...
Read more >Working with Tailwind CSS - MUI Base
This guide assumes that you have a basic working knowledge of the following: Tailwind CSS; TypeScript in React; building React UI components. We...
Read more >Creating hover effects with Tailwind CSS - Bird Eats Bug
In this Tailwind CSS tutorial we'll learn about hover classes and how to apply over effects to elements.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@francoismassart It’s works well 😃 Thanks!
Hello 👋
I hope sorting classes.
Input:
relative w-full overflow-hidden ${className}
}test ${(open === false) ?
relative invisible overflow-hidden: ``}
}Now(same like Input):
relative w-full overflow-hidden ${className}
}test ${(open === false) ?
relative invisible overflow-hidden: ``}
}Expect:
overflow-hidden relative w-full ${className}
}test ${(open === false) ?
invisible relative overflow-hidden: ``}
}