Closed
Description
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
2.1.1
What browser are you using?
Firefox
Describe your issue
This code worked in Headlessui 2.0:
<ComboboxOptions
as={motion.div}
transition={{ease: "linear", duration: 2}}
initial={{ y: -20, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
exit={{ y: -20, opacity: 0 }}
>
But in Headlessui 2.1, it causes a typescript compile error (it only accepts a boolean or undefined), and does not seem to forward the transition
property to the motion.div
from framer motion as it did before.
Metadata
Metadata
Assignees
Labels
No labels