Skip to content
#

modal

Here are 1,129 public repositories matching this topic...

joeswick999
joeswick999 commented Feb 22, 2019

Summary:

overlayRef and contentRef are undefined on componentDidMount, but have the correct value on componentDidUpdate.

Steps to reproduce:

  1. Set the overlayRef and contentRef prop on ReactModal.

  2. console.log the value of overlayRef and contentRef inside componentDidMount.

  3. The values will be undefined.

Expected behavior:

overlayRef and contentRef should hold

Improve this page

Add a description, image, and links to the modal topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the modal topic, visit your repo's landing page and select "manage topics."

Learn more