You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
upgrading from version 0.3.4 to 0.3.5 break tap events for SVG elements.
Here's an example:
<polymer-elementname="test-tap"><template><divon-tap="{{onTap}}" on-click="{{onClick}}">Click me! I'm a div</div><svg><circlecx="10" cy="10" r="2" fill="red" on-tap="{{onTap2}}" on-click="{{onClick2}}"/></svg></template><script>(function(){Polymer('test-tap',{created: function(){},ready: function(){},onTap: function(){console.log('tapped on div');},onTap2: function(){console.log('tapped on circle');},onClick: function(){console.log('clicked on div');},onClick2: function(){console.log('clicked on circle');}});}());</script></polymer-element>
By clicking on the DIV and on the CIRCLE you will see that only the DIV gets two console.log, one for the click and one for the tap event.
The text was updated successfully, but these errors were encountered:
upgrading from version 0.3.4 to 0.3.5 break tap events for SVG elements.
Here's an example:
By clicking on the DIV and on the CIRCLE you will see that only the DIV gets two console.log, one for the click and one for the tap event.
The text was updated successfully, but these errors were encountered: