tooltip icon indicating copy to clipboard operation
tooltip copied to clipboard

dynamic updating the align prop doesn't update the tooltip alignment

Open ItayTur opened this issue 4 years ago • 0 comments

im trying to make the tooltip alignment dynamic. but when the component parent passing different targetOffset, it stays with the initial values. im building a calendar. when clicking any date the tooltip opens next to it with the events list. when event is clicked, the expended event should open instead of the eventsList (inside the tooltip). because the size of the expended event is different from the events list i want to adjust the targetOffset based on the new height. is there anyway to force update on the tooltip component so it will receive the new values for align ?

ItayTur avatar Feb 26 '20 07:02 ItayTur