Closed TheArmagan closed 6 months ago
Will look into what exactly happens here more carefully because this does not seem to fully resolve it
https://github.com/uwu/shelter/assets/19270622/6ca84809-94e2-43ad-94bd-ab9b3c28342e
EDIT: I'm a dumbass! And did not build shelter-ui before rebuilding shelter lol, no, this fix seems good to me, I'm happy to merge
I added three new window event listeners and removed two of the current element listeners to tooltip we create to fix that issue.
Basically, it currently listens to user's mouse movements. Instead of relying on dom's mouseenter and mouseleave events. Because mouseleave event sometimes never get called that's due to moving the mouse too fast.