MenuItems State Not Updating Without Button Data in HeadlessUI v2 - Worked Fine in v1
benjaminbarbe opened this issue · comments
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.0.3
What browser are you using?
Chrome
Reproduction URL
https://stackblitz.com/~/github.com/benjaminbarbe/reproduction-headlessui-react
Describe your issue
The MenuItems don't update their state without information from the button. In my example, they are static and controlled by the transition. This worked perfectly in HeadlessUI v1.
CleanShot.2024-05-21.at.09.40.01.mp4
Thanks
Same issue #3201
@thecrypticace @julien3's trick didn't work for me. Got any other workaround ideas? 🙏😊