Skip to content

[feat]: Support for a loading state of Modal #841

@gu-stav

Description

@gu-stav

A clear and concise description of what the feature is

I'd like to see loading state support for modals.

Why should this feature be included?

In the monorepo we have a growing number of modals which have to load data when they are being opened, or where data is validated async once a form within a modal is submitted.

In both cases the modal will be in a loading state.

Examples:

Note: all of these examples use slightly different patterns to display the Loader

Please provide an example for how this would work

  • DialogBody could have an isLoading prop which could render the loading state

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