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
Because my checked and onChange states are coming from the parent component as props the CSS transition won't work and as soon as I write it like in the documentation where the state is internal the CSS transition works as expected.
The text was updated successfully, but these errors were encountered:
I can't seem to reproduce this (https://codesandbox.io/p/devbox/confident-stitch-7t68nk), if you toggle the state externally then it still applies the correct transition. I wonder if you have some extensions enabled in your browser or if something else is causing the transitions to not take effect 🤔
Going to close this for now, but if you are still running into this issue, feel free to create a new issue with a minimal reproduction repo attached so that we can take a look!
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.0
What browser are you using?
chrome
Reproduction URL
had some issues with codesandbox so could not provide link
even tried stackblitz and also had issues there.
here is a code snippet of my issue:
my code:
documentation example:
Describe your issue
Because my
checked
andonChange
states are coming from the parent component as props the CSS transition won't work and as soon as I write it like in the documentation where the state is internal the CSS transition works as expected.The text was updated successfully, but these errors were encountered: