boron
boron copied to clipboard
Refs within modal are removed.
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.