Open mikkoh opened 9 years ago
weird, I'm seeing this too. mouseover
works fine btw.
After struggling to figure out the riddle of ternaries and shorthand in the index.js, I think the problem is because the addEventListener is not scoped to the element.
For some reason
'mouseenter'
and'mouseleave'
don't fire their listeners.In the following example in chrome only
el.addEventListener
fires.