In my web application, I have a feature where a dot is created every time you click. However, when hovering over a stack of dots, only the top dot triggers the mouseover or mouseenter event. How can I ensure that the events fire for every dot under the cursor, but not those outside it? (BEGIN EDIT) Also, I want the mouseout or mouseleave event to only be triggered when the cursor actually leaves the dot. (END EDIT)
Just to provide context, the black portion in the image represents an SVG, and all the dots are SVG circles. They are siblings within the SVG element.
https://i.sstatic.net/3tzl7.jpg
Appreciate any help on this matter! Thank you!