Skip to content

Dropdown doesn't disappear immediately when focus is lost #1405

@therealsujitk

Description

@therealsujitk

Describe the bug

When a dropdown is closed (by clicking outside the dropdown, or by clicking the trigger), it waits for a few milliseconds (noticeably) before it actually closes. As shown in the screencast below, this causes overlapping dropdowns if they're placed next to each other.

Screen.Recording.2024-08-05.at.18.30.29.mov

Reproduction

In this example, simply add another dropdown below the existing one.

Flowbite version and System Info

-

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