I have a button with an Antd tooltip, like this:
<Tooltip title="Some text">
<button onClick={openNotes}><Icon icon="notes" /></button>
</Tooltip>
When you click the button, the openNotes
function makes some other component appear on screen so it moves the Tooltip like 200px to the left.
This makes the tooltip get stuck unless you hover off it, then hover on, then off again.
Is there any solution to this? I tried setting the mouseLeave delay to 0 but it still happens.