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

Delay with controlled component

Open DonovanCharpin opened this issue 6 years ago • 0 comments

Hi,

First, thanks for your library, it's really useful and fully customizable! I have one question though. I would like to add a delay even when I'm using the Tooltip as a controlled component

<Tooltip open={this.state.isOpen} delay={3000}>...</Tooltip>

Even if I set it as open, I would like to be able to show it only X milliseconds after the the open is set to true. I know I could do it on my side but I think that would make sense to keep the delay customizable even when we are in a controlled mode.

What do you think?

DonovanCharpin avatar May 15 '18 17:05 DonovanCharpin