Refs within modal are removed.
agoransson opened this issue · 0 comments
agoransson commented
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.