{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/88","labels_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/88/comments","events_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/88/events","html_url":"https://github.com/dart-lang/polymer-dart/issues/88","id":85652485,"number":88,"title":"[polymer] event.stopPropagation() has no effect (for on-click)","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/polymer-dart/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/polymer-dart/labels/Fixed","name":"Fixed","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-05T23:02:12Z","updated_at":"2015-06-05T23:02:15Z","closed_at":null,"body":"<a href=\"https://github.com/hpoul\"><img src=\"https://avatars.githubusercontent.com/u/313066?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [hpoul](https://github.com/hpoul)**\n_Originally opened as dart-lang/sdk#14169_\n\n----\n\ni have two nested &lt;div&gt; elements with on-click handlers. calling event.stopPropagation() in the inner element's click handler seems to have no effect. I think this should prevent the outer event handler from beeing called?\n\n**What steps will reproduce the problem?**\n\nsimple polymer web component, html:\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;polymer-element name=&quot;stop-propagation&quot;&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;template&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div on-click=&quot;outerClicked&quot;&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Outer.\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div on-click=&quot;innerClicked&quot;&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inner.\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/template&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script type=&quot;application/dart&quot; src=&quot;stoppropagation.dart&quot;&gt;&lt;/script&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;/polymer-element&gt;\n\ndart code:\n&nbsp;&nbsp;void innerClicked(Event event, var detail, Node target) {\n&nbsp;&nbsp;&nbsp;&nbsp;event.stopPropagation();\n&nbsp;&nbsp;&nbsp;&nbsp;print('inner clicked');\n&nbsp;&nbsp;}\n&nbsp;&nbsp;void outerClicked(Event event, var detail, Node target) {\n&nbsp;&nbsp;&nbsp;&nbsp;print('outer clicked');\n&nbsp;&nbsp;}\n\n**What is the expected output? What do you see instead?**\n\ni think wenn clicking on 'inner' only 'inner clicked' should be shown, but also 'outer clicked' is called.\n\n\nWhat version of the product are you using?\nDart Editor version 0.8.1_r28355\ntesting in dartium coming with dart editor (31.0.1612.0 (219647))\n\n**Please provide any additional information below.**\nsince i stumbled upon the problem when porting my web-ui app, it's probably a problem in polymer, not dart.. couldn't find any open issues in polymer.js issue tracker though.\n\nmy two files i've used for testing: https://github.com/hpoul/dart-polymer-dart-examples/tree/b9f9ac052b15ea97250daad97a1a45c2124ef251/web/stoppropagationtest\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/comments/109473080","html_url":"https://github.com/dart-lang/polymer-dart/issues/88#issuecomment-109473080","issue_url":"https://api.github.com/repos/dart-lang/polymer-dart/issues/88","id":109473080,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T23:02:15Z","updated_at":"2015-06-05T23:02:15Z","body":"<a href=\"https://github.com/jmesserly\"><img src=\"https://avatars.githubusercontent.com/u/1081711?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [jmesserly](https://github.com/jmesserly)**\n\n----\n\n*Removed [Library-Polymer](../labels/Library-Polymer) label.*\n"}}