Files
headlessui/packages/@headlessui-react/src/components/menu
Robin Malfait 8208c07572 Adjust active {item,option} index (#1184)
* adjust active {item,option} index

We had various ordering issues, and now we properly sort all the notes
which is awesome. However, there is this case where we still use the
`activeOptionIndex` / `activeItemIndex` from _before_ the sort happens.

Now we will ensure that this is properly adjusted when performing the
sort of the items.

In addition, we will also properly adjust these values when
`registering` and `unregistering` items, not only when performing
actions.

* update changelog
2022-03-02 22:01:14 +01:00
..