Hi @wwayne! I've been running into some issues when I have multiple tooltips on a page, or when tooltips need to show up conditionally.
I was wondering if you've thoughts around maybe releasing a stateless tooltip that has open/close prop which determines when the tooltip is open or not?
This way, the user can control the opening and closing and the library can provide them with some useful defaults. This might also simplify the props that you have today, and allow for more complex use-cases like #144 .
Thoughts?
Thank you!
@wwayne @huumanoid Following up to see if you guys had any thoughts on this one as well?
Same issue here.
I'm debugging right now my application, since I did not realise that we need a
Agreed that this would be a great feature.
@oyeanuj Have you managed to figure out a workaround?
@AlexNisnevich I ended up moving to https://github.com/littlebits/react-popover until this issue is resolved, as had made the fine-grained control of the tooltip much harder.
Running into the same problem; have to use something else :(
I feel like being controllable is a pretty essential feature for any react component
I had an issue where I wanted to close one tooltip when another one was open instead of overlapping. I ended up writing a function to set state in my component and wrote a conditional in the "data-tip" property where when I wanted it "off", I set the data-tip to an empty string. Works for now but would also like to see open/close props.
@reginavlee do you have the source code for this change, I can take a look at the implementation. (I am new to front end).