Skip to content

Evaluate using CloseableContext in other components than Dialog #1179

Description

@lyzadanger

https://github.com/hypothesis/frontend-shared/releases/tag/v6.5.0 adds a CloseableContext to the Dialog component, which allows nested components to access a close handler. We might consider adding a CloseableContext to other components that are inherently "close-able", such as Panel or ModalDialog.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions