Thank you for sharing this with me. As you can see, towards the end, when you encountered the tooltip issue, the size of the graph container was changing. I even found this bug in the actual pgAdmin4 application installed on my system. Please see the attached video.
Here's what I believe is happening: When the container's size changes, it seems that tooltips continue to accumulate without being properly removed. The method we use to display tooltips involves inserting a new element into the DOM with the class name "uplot-tooltip". So, if we remove all the existing tooltip elements before inserting a new one, it could potentially resolve the issue. Would like to know your thoughts on this.
It would be good if you fix this issue as you already investigated and found the root cause. But if you have other things to complete as the deadline is approaching you can create this issue at pgAdmin repo as it is an existing one.
The Tooltip for graph points remains on the page. Please refer to the below screenshot.
Is this happening simply by moving the cursor within the graph area or when resizing the screen?
This is happening by simply moving the cursor across the graphs on each tab. Maybe you can try to reduce the graph refresh rate to 1 second and try.
I'm unable to reproduce the issue even after modifying the refresh rate to 1 second. I have attached a screen recording to illustrate how it is functioning on my end.
Do you have any thoughts on why the cursor issue might be happening?