[Collapsible] Exit animation doesn't run when using motion and Tailwind v4 #1608
Labels
component: collapsible
This is the name of the generic UI component, not the React module!
has workaround
https://codesandbox.io/p/devbox/suspicious-kate-j22y8v
Tailwind v4's reset sets
display: none !important
on the[hidden]
selector, and the way motion sets styles cannot override!important
The workaround is to set
hidden={undefined}
on the panel, it will be unmounted as soon as hidden becomes true anyway:Base UI version
1.0.0-alpha.7
The text was updated successfully, but these errors were encountered: