react-tooltip-component
react-tooltip-component copied to clipboard
Trigger a handleMouseMove() call after title changes to recalculate position
Currently, if the tooltip is fixed and the title changes dynamically, it can appear off-center if the title change also changes the width of the tooltip. For example:

This PR corrects this behaviour by triggering a recalculation of the tooltips positions if the title changes. Now, it behaves like this:
