Skip to content

ClayDropdown should close when clicked on document on mobile and others #956

Closed
@matuzalemsteles

Description

Summary

ClayDropdown currently only listens to document events to close the dropdown.

Expected behavior

The dropdown should close in the following use cases:

  • Dropdown should close when clicked on document on mobile
  • When pressing ESC you should close the dropdown *
  • The dropdown should close when you click on an iframe on the screen *

NOTE: * These are use cases collected from LPS-81389

Current behavior

The dropdown does not close in the above use cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

status: next-releaseIssues that will enter into the next releasetype: bugIssues reporting that Component is not doing what should be donetype: enhancementIssues that are open to bring improvements or refinement of code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions