Skip to content


Subversion checkout URL

You can clone with
Download ZIP


stopPropagation() works wired on event delegation #718

chrisyip opened this Issue · 2 comments

3 participants




When A.2 is clicked, click events will be fired on two divs, both A.1 and A.2 are in pink. The stopPropagation() doesn't take any effects.

When A.1 is clicked, click event that should only be fired on A.2 is fired, A.1 should in red not pink.

The behavior in box B are the correct one: event is stopped correctly, fired on correct element.

@mislav mislav was assigned

I'm not sure what doesn't work, as the tests don't include information about what the expected behavior is. I'm closing this, but will reopen if there's a better description.

@madrobby madrobby closed this

@madrobby Sorry. I updated the description. My English is so poor, I'm not sure if I made it clear enough. If you take a look at the example, you will understand the difference between Zepto and jQuery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.