03-11-2017, 06:51 PM
(This post was last modified: 03-11-2017, 06:58 PM by Wire. Edited 1 time in total.)
I apparently introduced a race condition with showing/hiding with the changes I did today. Good news: I have a reasonable idea of how to fix it. Slightly less good news: you're going to have to wait until tomorrow for a fix because I'm about to enter a coma.
Edit: technical information mostly for my future-self benefit:
I implemented a system that waits for any images contained within a tooltip to fully load before calculating the size and position data, which in turn calls the "show this thang" function. Because of this callback nature, tooltips can be shown/hidden during the image load process if the user hovers over shit fast enough, which will end up calling the show function out of order.
This also apparently breaks the mouseover event for fallback hiding for some unknown reason. Ho hum.
Edit: technical information mostly for my future-self benefit:
I implemented a system that waits for any images contained within a tooltip to fully load before calculating the size and position data, which in turn calls the "show this thang" function. Because of this callback nature, tooltips can be shown/hidden during the image load process if the user hovers over shit fast enough, which will end up calling the show function out of order.
This also apparently breaks the mouseover event for fallback hiding for some unknown reason. Ho hum.