Skip to content

It seems component inside modal will not update anymore #35

@zzswang

Description

@zzswang

Following code, {this.props.field.name} will not change after state change, unless we change {isOpen}
The children components' updating are blocked.

Not sure why, any ideas?

      <Modal isOpen toggle={closeModal}>
        <ModalHeader toggle={closeModal}>{this.props.field.name}</ModalHeader>
        <ModalBody>
            ...
        </ModalBody>
      </Modal>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions