{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/core-menu/issues/19","labels_url":"https://api.github.com/repos/Polymer/core-menu/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/core-menu/issues/19/comments","events_url":"https://api.github.com/repos/Polymer/core-menu/issues/19/events","html_url":"https://github.com/Polymer/core-menu/issues/19","id":57422688,"number":19,"title":"Click doesn't trigger selectedItemChange if items are repositioned in core-menu","user":{"login":"michaelpg","id":5216192,"avatar_url":"https://avatars.githubusercontent.com/u/5216192?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelpg","html_url":"https://github.com/michaelpg","followers_url":"https://api.github.com/users/michaelpg/followers","following_url":"https://api.github.com/users/michaelpg/following{/other_user}","gists_url":"https://api.github.com/users/michaelpg/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelpg/subscriptions","organizations_url":"https://api.github.com/users/michaelpg/orgs","repos_url":"https://api.github.com/users/michaelpg/repos","events_url":"https://api.github.com/users/michaelpg/events{/privacy}","received_events_url":"https://api.github.com/users/michaelpg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-12T06:29:18Z","updated_at":"2015-02-12T06:29:18Z","closed_at":null,"body":"Suppose `x-menu` uses a `core-menu` but always shows the selected item at the top of the list:\r\n\r\n    <polymer-element name=\"x-menu\" noscript>\r\n      <template>\r\n        <core-menu>\r\n          <content select=\"core-item.core-selected\"></content>\r\n          <content select=\"core-item\"></content>\r\n        </core-menu>\r\n      </template>\r\n    </polymer-element>\r\n\r\n    <x-menu>\r\n      <core-item>Item 1</core-item>\r\n      <core-item>Item 2</core-item>\r\n      <core-item>Item 3</core-item>\r\n      <core-item>Item 4</core-item>\r\n    </x-menu>\r\n\r\nClick the third item (Item 3), so core-selector.selected is \"2\". Then click the third item again (Item 2). The selected item does not change; Item 3 is still \".core-selected\". The \"selected\" attribute is set to 2 so it isn't considered a changed property."}}