Benoît Rouleau
Benoît Rouleau
**1. Read the [FAQs](#faqs) 👇** ✅ **2. Describe the bug** There is [code](https://github.com/motiondivision/motion/blob/main/packages/framer-motion/src/components/AnimatePresence/PopChild.tsx#L89) in `AnimatePresence`'s `mode="popLayout"` behavior that assumes the current text direction is LTR, because it sets the `left`...
# Feature request ## Summary It could be useful for different reasons to add a `data-label` attribute to the element that `Menu.Item` (or `Menu.CheckboxItem` or `Menu.RadioItem`) renders: - Easily inspect...
# Bug report ## Current behavior This is subtle, but I believe there is a bug when using the keyboard to navigate a menu that contains a submenu: pressing Shift...
# Feature request ## Summary The [Group Labels](https://base-ui.com/react/components/menu#group-labels) example is great, but it can be even better IMO: `Menu.RadioGroup` is nested inside a `Menu.Group` whose sole purpose seems to be...
# Bug report ## Current behavior When `Menu.Item` (or `Menu.CheckboxItem` or `Menu.RadioItem`) is `disabled`, it still gets the `data-highlighted` attribute when hovered or navigated to with the keyboard. Already, I'm...
**What package within Headless UI are you using?** `@headlessui/react` **What version of that package are you using?** v2.2.0 **What browser are you using?** Zen 😎 **Reproduction URL** https://headlessui.com/react/dialog 😜 **Describe...
### What is the current behavior? ```js const [count, setCount] = useState(0) const map = useMap([['count', 0]]) console.log('rerender') return setCount(0)}>Click state map.set('count', 0)}>Click map ``` Clicking on the "Click state"...
## New Features It would be nice if `useMap()`, `useSet()`, etc. supported an initializer function for those initial values that can be expensive to compute, e.g. ```js const map =...
# Bug report ## Current behavior `closeOnClick={false}` (or no `closeOnClick` on a `Menu.RadioItem` or `Menu.CheckboxItem`, as they default to `false`) doesn't work as expected on nested menu items. It doesn't...