Open moahmn opened 4 years ago
I have the same problem. I need a clickable element inside the slide, but I can't separate the events.
@quinnlangille Could you just emit the event also, so i can understand which element is the emitter? I would be grateful.
Bug Report
Current Behavior click the inner element,then will call two function, inner function and wrapper function will all execute
Input Code and steps to reproduce
https://jsfiddle.net/2jcL438o/
Expected behavior/code
when i click outer box,then fn1 function will be execute,i click inner element,then fn1 and fn2 will all be execute,i hope it only execute fn2 function when i click inner element, i stop event bubble ,but is not valid?