yjose / reactjs-popup

React Popup Component - Modals,Tooltips and Menus —  All in one
https://react-popup.elazizi.com/
MIT License
1.8k stars 207 forks source link

"-content" getting appended to every class name written for className attriubute for <Popup> #347

Closed broken-vmss closed 11 months ago

broken-vmss commented 11 months ago

Version --> 2.0.6

Hey everyone, so I was working with reactjs-popup and I have come across a bug. Whenever I write some tailwind classes for the attribute className for , "-content" is getting appended for every class written in className.

Expected Behavior

The expected behaviour is that the classes should be present as writte. If there is a tailwind class called "bg-red-50", the class name shown on inpecting the element is "bg-red-50-content". When I correct it from the elements in browser, using the tailwind classes that are already compiled, the changes were also not reflected.

Actual Behavior

The classes should be present as written in and should be compiled by tailwind.