Question: I'm using [hammer.js](http://eightmedia.github.com/hammer.js/) and it appears that I `event.stopPropagation()` doesn't work with tap event.

If I click on the child, the associated event is triggered but parent's event is also triggered and I don't want that.

```
$('#parent').hammer().bind('tap', function(e) {
    $(this).css('background', 'red');
});​​​​​​​​

$('#child').hammer().bind('tap', function(e) {
    e.stopPropagation();
    $(this).css('background', 'blue');
});

```

Here is an example: <http://jsfiddle.net/Mt9gV/>

​
I also tried with [jGestures](http://jgestures.codeplex.com/) and the issue seems to be the same.
How can I achieve this result with one of those library? (or another one if it is needed)

Answer: 
I had a similar problems with the touch events. 

I solved it by using 

```
return false;

```

which is the same as calling 
 e.preventDefault();
 e.stopPropagation();
You could try checking `e.currentTarget` (or is it `e.target`?) inside the parent handler to find out which element was tapped; if it's the child element then just return immediately, else continue with the function.