Posted 9 August 2021, 8:46 am EST
Hi,
We apologize but we cannot implement the above requirement i.e. to make continuous calls to the API while the mouse pointer is at the same position, because the tooltip is shown on the mouse hover event call.
what happens here is if you make a regular call to render the tooltip causing the loop to start, further events are blocked as the current loop is still being executed, thus making it difficult to stop the ongoing loop using other conditions or events.
Also, the tooltip content can only be updated after being hidden, so you need to hide the tooltip before showing the updated content, for that, I would recommend that instead of calling tooltipContent regularly what you can do is after getting the updated tooltip content(from the API call), first hide the tooltip, the second update the tooltip content then call the tooltip show method.
Sorry for the inconvenience caused.
~regards