Skip to content

Dropdown are not being closed when pressing ESC #1064

@tagliala

Description

@tagliala

Describe the bug
Hello, at the best of my knowledge, this is not a duplicate

I expect that Dropdowns are closed when pressing ESC, as it happens with Tooltips and Modals

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://flowbite.com/docs/components/dropdowns/#dropdown-example
  2. Click on the dropdown
  3. Press ESC

Expected behavior
Dropdown being closed

Screenshots
n/a

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version 135

Additional context

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