Closed frankiefu closed 10 years ago
Also doesn't work if you put a div around the content node and set the on-tap on the div.
<polymer-element name="x-test">
<template>
<div on-tap="{{tapHandler}}">
<content select=".menuButton"></content>
</div>
</template>
<script>
Polymer({
tapHandler: function() {
console.log('tapped!!!');
}
})
</script>
</polymer-element>
<x-test>
<paper-icon-button class="menuButton" icon="menu"></paper-icon-button>
</x-test>
To reproduce the issue, run the sample code on iOS, you will see tapHandler is not being called. The same code works fine in 0.4.2. The bug seems to be introduced by this commit: https://github.com/Polymer/polymer-gestures/commit/398ba03b5d024f0cd794a18a08aff953d2986545