Skip to content

[RAC] Introduce a delay for Menu's submenus closing. #7242

@pavelbelyaev98

Description

@pavelbelyaev98

Provide a general summary of the feature here

When using the react aria components' submenus they close too quickly which causes confusion when a user accidentally hovers on another item in the menu.

Here is an example of it, I have a dropdown menu in the top right corner which causes this conflict:

Recording.2024-10-23.201529.mp4

🤔 Expected Behavior?

I want to add a delay before the submenu closes. During this delay period, the code should check if the user has hovered over the submenu again. If they have, the submenu should stay open instead of closing.

😯 Current Behavior

The submenu closes immediately which doesnt allow the user to click on the submenu item.

💁 Possible Solution

No response

🔦 Context

Video included

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions