Skip to content

destroy is always called regardless of options. #78

@michaeltford

Description

@michaeltford

disableAutoDestroy: false and destroyOnClose : false are not honored (at least not always).

https://github.com/Quernest/mui-modal-provider/blob/master/src/modal-provider.tsx#L165

The onExited should have an options (options.destroyOnClose || disableAutoDestroy) check before calling destroy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions