I need to be able to add a tooltip to the element so it functions like normal (opens up when element is hovered) and at the same time I need an ability to open it up programmatically.
I know it has open
prop that allows to do so, but in this case I will be switching component from uncontrolled to controlled and this isn't possible.
I'm also unable to sumulate :hover
event on a button inside tooltip because this is impossible in browser.
Is there a way to accomplish this maybe thru refs? When I use ref with tooltip it just being passed over to the child element.
Thanks!