boron icon indicating copy to clipboard operation
boron copied to clipboard

Refs within modal are removed.

Open agoransson opened this issue 10 years ago • 0 comments

When placing refs within modal the inner refs are not registered. Consider the example below.

<Modal ref="modal">
  <h2 ref="heading">A heading</h2>
  <MyCustomFormComponent ref="form" onSubmitted={this.onSubmitted} />
</Modal>

The modal reference is found, but any reference placed within are not found, i.e. the "heading" and "form" refs are not registered.

agoransson avatar Nov 11 '15 10:11 agoransson