-
-
Notifications
You must be signed in to change notification settings - Fork 370
Open
Labels
status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.These issues haven't been looked at yet by a maintainer.
Description
Bug report
Current behavior
When setting closeDelay on a SubmenuTrigger it seems to only be respected when hovering non-item elements in menu such as Separator. Hovering Item closes the submenu instantly.
Expected behavior
I would expect it to honor SubmenuTrigger closeDelay when hovering menu items with submenu open. Unless another submenu is opened perhaps.
Reproducible example
This is the nested menu example from the docs but I added 1000 ms closeDelay on SubmenuTrigger. Open submenu then hover another item from root menu, the submenu closes instantly.
https://stackblitz.com/edit/8lqse2xn?file=src%2FApp.tsx
Base UI version
1.2.0
Which browser are you using?
Chrome
Which OS are you using?
Ubuntu 24
Which assistive tech are you using (if applicable)?
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.These issues haven't been looked at yet by a maintainer.