Skip to content

Multiple SubTrigger active and SubContent not closing #3761

@d3lm

Description

@d3lm

Bug report

Current Behavior

When using the DropdownMenu with multiple submenus I have noticed that multiple triggers can be active and the submenu is not closing until you move the mouse a little further.

CleanShot.2025-11-27.at.09.55.13.mp4
CleanShot.2025-11-27.at.09.58.12.mp4

Expected behavior

I expect only one trigger to be active on hover and not multiple. Also when entering another trigger then the submenu of the previously hovered trigger should close.

Reproducible example

https://stackblitz.com/edit/github-1yil4kxs?file=src%2FSettingsDropdown.tsx

Your environment

@radix-ui/react-dropdown-menu: 2.1.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions