Skip to content

Notification drawer should close when the user clicks outside of the drawer #537

Open
@benjaminapetersen

Description

@benjaminapetersen

This is a fairly common convenience feature for a drawer/panel/modal. Here are a few examples:

I believe a click event on the document is needed, then a test to e.target (exists && matches current element) to implement, but can look into this more.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions