Mouse Leave event gets triggered before the mouse enters the Overlay

Here’s what I am trying to do:

  1. click on an element opens an Overlay
  2. when the mouse leaves the overlay, I want the overlay to close (the mouse should have entered the overlay first).

What I am seeing, is that when playing the prototype the Mouse Leave event gets triggered immediately after the Overlay is opened, though I assumed it should only trigger if the mouse was within the overlay and then left the area.

Am I seeing a defect or am I interpreting wrong the events handling?

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.