What version of Tailwind CSS are you using?
@tailwindcss/postcss7-compat@^2.1.0
What build tool (or framework if it abstracts the build tool) are you using?
Create React App
What version of Node.js are you using?
v14.16.1
What browser are you using?
Chrome
What operating system are you using?
Ubuntu
Reproduction repository
https://github.com/tailwindlabs/tailwindcss
Describe your issue
Sorry, no time to make a repo. Feel free to close the issue. Still, I just wanted to let you know.
// tailwind.config.js
variants: {
extend: {
display: ['group-hover']
}
},
// component.jsx
<div className="group">
<Folder className="h-4 group-hover:hidden"/>
<FolderOpen className="h-4 hidden group-hover:block"/>
<div className="px-1">
{title}
</div>
</div>
I toggle between two icons on parent hover. Without JIT mode, it works. With JIT, hover-on icon shows alongside the hover-off icon.
What version of Tailwind CSS are you using?
@tailwindcss/postcss7-compat@^2.1.0
What build tool (or framework if it abstracts the build tool) are you using?
Create React App
What version of Node.js are you using?
v14.16.1
What browser are you using?
Chrome
What operating system are you using?
Ubuntu
Reproduction repository
https://github.com/tailwindlabs/tailwindcss
Describe your issue
Sorry, no time to make a repo. Feel free to close the issue. Still, I just wanted to let you know.
I toggle between two icons on parent hover. Without JIT mode, it works. With JIT, hover-on icon shows alongside the hover-off icon.