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
When using the <Disclosure> component along with <Disclosure.Panel static> - Note the static - The aria-controls attribute is removed from the <Disclosure.Button> element. This is relevant in cases where you want to animate the content entry and exit without being able to do so with the Transition component. Example of this is you want to use animate height with react-animate-height
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?
v1.6.6
What browser are you using?
Edge, Chrome
Reproduction URL
https://github.com/Bjodol/headless-ui-disclosure-bug
Describe your issue
When using the
<Disclosure>
component along with<Disclosure.Panel static>
- Note thestatic
- Thearia-controls
attribute is removed from the<Disclosure.Button>
element. This is relevant in cases where you want to animate the content entry and exit without being able to do so with theTransition
component. Example of this is you want to use animate height withreact-animate-height
The text was updated successfully, but these errors were encountered: