tooltip icon indicating copy to clipboard operation
tooltip copied to clipboard

Support tooltip on React Fragments

Open AlonBe opened this issue 7 years ago • 1 comments

The following code doesn't popup the tooltip: `<Tooltip overlay={this.getOverlay} placement={'bottomLeft'}>

<React.Fragment>
     { anyInnerChild }
</React.Fragment>
`

But when working with "native" components which are not React Fragments - it works

AlonBe avatar Apr 03 '18 14:04 AlonBe

As per docs,

Tooltip requires child node accepts onMouseEnter, onMouseLeave, onFocus, onClick event.

That's why React.Fragment does not work

burtek avatar Jun 18 '18 11:06 burtek