react-tooltip
react-tooltip copied to clipboard
Recalculate Position on Content Change
Hi, I've implemented a Tooltip which changes its content via its getContent function. The content changes when you press the left mouse button and changes back when you release it. The content changes as intended, but the position of the Tooltip doesn't change at all. To be exact the position of the left upper corner stays the same through the content changes. The position is corrected when e.g. I'm moving the mouse, but I want it to update together with the content.. I'd be really glad if someone could help me on this c:
Kind of a fix is to update the content every millisecond, but I don't think this is a good solution.