You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your issue
I have conditional className for DisclosurePanel. When we click the change button, it's merging the class instead of changing the class.
It's only happen when using <Transition>, if we remove the <Transition> it's working fine.
Expected output:
"bg-slate-100 text-slate-900"
Actual output:
"bg-slate-100 text-slate-900 text-rose-900"
The text was updated successfully, but these errors were encountered:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.0.4
What browser are you using?
Chrome
Reproduction URL
https://playcode.io/1899014
Code
Describe your issue
I have conditional className for DisclosurePanel. When we click the change button, it's merging the class instead of changing the class.
It's only happen when using
<Transition>
, if we remove the<Transition>
it's working fine.Expected output:
"bg-slate-100 text-slate-900"
Actual output:
"bg-slate-100 text-slate-900 text-rose-900"
The text was updated successfully, but these errors were encountered: