Closed tws2000 closed 2 years ago
When mouseenter and mouseleave are attached to an element, they seem to be firing when the mouse moves over child elements.
mouseenter and mouseleave do not fire when mouse moves over child elements.
mouseenter and mouseleave are firing when mouse moves over child elements.
Marko playground example: https://markojs.com/playground/#NobwRAdghgtgpmAXGAlhAJnAHgOhlAJwGsB7MAGjAAcoAXACyTAHo1Nd9izKBjEiWnAFMeAGygBnCQAIQAHQjTptEgHNVouAGESokgQAUASlkKl5vhAm1pcUdIC8y+igk5VcWgFFRBgOTwEACufkYA3GbmtqI4YpISADKutDgq6pr+fHoEoRGK0gC+CkUQCgA86CgAbpFxUg5yYIFBjZFEcACeDU1CLWCR-AC0MCRBEnBCgoaNaRrauvqNRgMQw6PjdnBQVXAGM2pzOtlLAHwKkRXVJ2VQ0vQEcABm3QDEjScAEnZ6ZcxQ18xKlUzvlLsCbncHs9Gm8wCcAOr6UToX7-X5AkHoq7nCBlawdTQgvC9Uz5ABGUB4RFUBFGGEGWX0iGkLx4bLySho6EqEFUzIAzAAGKhYPIlYnBaQnaRA0lKSoSKjiDrMtCiNBwQZkvRUjnSLk8vnSACMwtFkU4qjQzNNIr1ZP0mAINpF0gkuhQ6DFCliCwIcukFKpNLp6AZfuZDy9xXKzHxhLABQAukA
Fix released in marko@5.20.1
marko@5.20.1
Marko Version: 5.18.2
Details
When mouseenter and mouseleave are attached to an element, they seem to be firing when the mouse moves over child elements.
Expected Behavior
mouseenter and mouseleave do not fire when mouse moves over child elements.
Actual Behavior
mouseenter and mouseleave are firing when mouse moves over child elements.
Your Environment
Steps to Reproduce
Marko playground example: https://markojs.com/playground/#NobwRAdghgtgpmAXGAlhAJnAHgOhlAJwGsB7MAGjAAcoAXACyTAHo1Nd9izKBjEiWnAFMeAGygBnCQAIQAHQjTptEgHNVouAGESokgQAUASlkKl5vhAm1pcUdIC8y+igk5VcWgFFRBgOTwEACufkYA3GbmtqI4YpISADKutDgq6pr+fHoEoRGK0gC+CkUQCgA86CgAbpFxUg5yYIFBjZFEcACeDU1CLWCR-AC0MCRBEnBCgoaNaRrauvqNRgMQw6PjdnBQVXAGM2pzOtlLAHwKkRXVJ2VQ0vQEcABm3QDEjScAEnZ6ZcxQ18xKlUzvlLsCbncHs9Gm8wCcAOr6UToX7-X5AkHoq7nCBlawdTQgvC9Uz5ABGUB4RFUBFGGEGWX0iGkLx4bLySho6EqEFUzIAzAAGKhYPIlYnBaQnaRA0lKSoSKjiDrMtCiNBwQZkvRUjnSLk8vnSACMwtFkU4qjQzNNIr1ZP0mAINpF0gkuhQ6DFCliCwIcukFKpNLp6AZfuZDy9xXKzHxhLABQAukA