react-tooltip icon indicating copy to clipboard operation
react-tooltip copied to clipboard

why tooltip shows overlay

Open jiehan1029 opened this issue 7 years ago • 2 comments

Somehow in my page, when tooltip is triggered, it looks as if there're two tooltip windows been triggered with same content, overlapping each other. Multiple tooltip components are mounted in the page but only trigger one at a time. My tooltip component is like this: the tooltip id is generated by uuid

        <div data-for={thisTooltipID} data-tip={this.props.dataTip} data-html={true}> 
            <ReactTooltip id={thisTooltipID} place={this.props.place} html={true}/>
            {this.props.children}
        </div>

Could anyone give me a hint why this is happening?

jiehan1029 avatar Dec 05 '18 19:12 jiehan1029

This also happens to me with overlaying shadows

gabrieldonadel avatar Feb 19 '19 16:02 gabrieldonadel

I have resolved this issue by setting <div data-for={uniqueId}.... in line one and <ReactTooltip id={uniqueId} in line two.

pswaroopk avatar May 29 '19 16:05 pswaroopk