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

How the instant example can be triggered? Delay on Popup to disappear.

Open ReactGirl opened this issue 6 years ago • 2 comments

IM getting delay to have the popup to disappear

ReactGirl avatar Oct 03 '18 17:10 ReactGirl

I had the same issue. As a temporary workaround I found out that you need to explicitly reset transition-duration on both elements.

React element:

<Tooltip
    animation="none"
    animateFill={false}
>

Global style rule:

.tippy-tooltip, .tippy-popper {
    transition-duration: 0s !important;
}

KubaJastrz avatar Oct 15 '18 10:10 KubaJastrz

https://github.com/tvkhoa/react-tippy/issues/52#issuecomment-406419701

adambowles avatar Oct 25 '18 15:10 adambowles