Skip to content

The modal still visible after remove #168

@lyquocphong

Description

@lyquocphong

I faced the problem that after call modal.remove(), the modal is still visible even when the visible is false (i log the modal object from useModal). But when I use modal.hide() the modal is disappear. It is so confusing for me. Anyone can explain for me ?

Another question I would like to ask is that because we nest the App in ModalProvider so each time we show or hide or remove modal, the context change. Will application be rerendered every times ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions