tailwindcss-radix icon indicating copy to clipboard operation
tailwindcss-radix copied to clipboard

Named groups not supported

Open rrmesquita opened this issue 2 years ago • 0 comments
trafficstars

Right now if I use this library like the following, it will not work as expected:

<AccordionContent class="group/my-named">
  <div class="group-radix-state-closed/my-named:opacity-0">
    // ...
  </div>
</AccordionContent>

I'm not sure when this named groups feature was implemented in TailwindCSS, but a helpful guide for how to make this library work with it can be found here: https://tailwindcss.com/docs/plugins#parent-and-sibling-states

I can work on this myself if I find time and if @ecklf shows interest. Either way just leaving this here so it gets documented.

Thanks!

rrmesquita avatar Aug 19 '23 07:08 rrmesquita