Files
headlessui/packages
Robin Malfait 9885008357 Make the ref optional in the Popover component (#1465)
* make the ref optional in the `Popover` component

We "required" the prop to calculate the `ownerDocument`. But if you
don't provide a ref, then we will use the `Popover.Button` to calculate
it. If that's not defined, then we can fallback to the default
`document`.

* update changelog
2022-05-18 13:46:45 +02:00
..