react-tooltip icon indicating copy to clipboard operation
react-tooltip copied to clipboard

i hope If the mouse hovers during content update, it is optional to update

Open zoe-jqq opened this issue 4 years ago • 2 comments

My content is a form. Every item has a delete button. After deleting, the tooltip does not automatically update the position. It is correct only when I quickly move out of the mouse position. i have set

useEffect(() => {
   ReactTooltip.rebuild();
   ReactTooltip.show(document.querySelector('.add-attendance'));
  }, [formItems]);

and delayUpdate={200}

In another case, there is a cancel button in the form, and it doesn't work if you click to close the tool, because the mouse thover over the tool

So I hope that the function mouseOntooltip is optional when determining whether to update the tooltip

Or is there any way to skip mouseOntooltip check?

Thanks

zoe-jqq avatar Jul 02 '21 04:07 zoe-jqq

aslo When I have a scroll bar in my form, I don't need to listenForTooltipExit either

zoe-jqq avatar Jul 02 '21 08:07 zoe-jqq

@wwayne yea. sometimes we want to hide directly but it wait with listenForTooltipExit.

yasin-vibely avatar Oct 01 '21 17:10 yasin-vibely