Реакция модального поля ввода Автофокус с фокусом

//Just add autoFocus = {false} on modal and autoFocus = {true} on input.

<Modal autoFocus={false}>
  <Form>
    <ModalHeader>Type Your Input</ModalHeader>
    <ModalBody>
      <Input autoFocus={true} />
      <Button>Submit</Button>
    </ModalBody>
  </Form>
</Modal>

//Ref: https://simplernerd.com/js-reactstrap-modal-autofocus/c
Batman