Uncaught Error: Invariant Violation: onlyChild must be passed a children with exactly one child.
Works when OverlayTrigger is placed outside of <Form> component. My guess is that it has something to do with Form cloning its children when rendering, but can't pinpoint the exact location of the issue. Any idea ?
Uncaught Error: Invariant Violation: onlyChild must be passed a children with exactly one child.
Works when
OverlayTrigger
is placed outside of<Form>
component. My guess is that it has something to do withForm
cloning its children when rendering, but can't pinpoint the exact location of the issue. Any idea ?