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
Our whole test suite starts failing with v2, I'm guessing, that stuff like roles only get backfilled after some time and our tests don't wait for that right now?
Hey! I've moved this change to the top of the upgrade guide to make it a little easier to notice 👍
Basically a bunch of things that used to render div elements now render a Fragment, so if you were expecting the <Transition> for example to render a div, you'll need to add as="div" to get things working as expected again.
Posting this here to help others that search for the issue.
You may see an error when moving to headlessui/react v2 as such as:
The fix for me was replacing
as={<Fragment />}
withas='div'
as well as adding in someas='div'
in places that didn't have it.More changes that can help when moving to v2 available here:
elie222/inbox-zero@c763b42
The text was updated successfully, but these errors were encountered: