{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/issues/134","repository_url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel","labels_url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/issues/134/comments","events_url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/issues/134/events","html_url":"https://github.com/PolymerElements/paper-drawer-panel/issues/134","id":139078564,"number":134,"title":"AutoFocus results into infinite loop of refocusing","user":{"login":"TomasAgoston","id":1176792,"avatar_url":"https://avatars.githubusercontent.com/u/1176792?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasAgoston","html_url":"https://github.com/TomasAgoston","followers_url":"https://api.github.com/users/TomasAgoston/followers","following_url":"https://api.github.com/users/TomasAgoston/following{/other_user}","gists_url":"https://api.github.com/users/TomasAgoston/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasAgoston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasAgoston/subscriptions","organizations_url":"https://api.github.com/users/TomasAgoston/orgs","repos_url":"https://api.github.com/users/TomasAgoston/repos","events_url":"https://api.github.com/users/TomasAgoston/events{/privacy}","received_events_url":"https://api.github.com/users/TomasAgoston/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/labels/p0%20-%20critical","name":"p0 - critical","color":"c14d66"}],"state":"closed","locked":false,"assignee":{"login":"blasten","id":1410613,"avatar_url":"https://avatars.githubusercontent.com/u/1410613?v=3","gravatar_id":"","url":"https://api.github.com/users/blasten","html_url":"https://github.com/blasten","followers_url":"https://api.github.com/users/blasten/followers","following_url":"https://api.github.com/users/blasten/following{/other_user}","gists_url":"https://api.github.com/users/blasten/gists{/gist_id}","starred_url":"https://api.github.com/users/blasten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blasten/subscriptions","organizations_url":"https://api.github.com/users/blasten/orgs","repos_url":"https://api.github.com/users/blasten/repos","events_url":"https://api.github.com/users/blasten/events{/privacy}","received_events_url":"https://api.github.com/users/blasten/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-07T20:01:13Z","updated_at":"2016-03-16T12:14:23Z","closed_at":"2016-03-16T01:31:45Z","body":"With the new version 1.0.7 we get a infinite loop of refocusing on the drawer panel.\r\n\r\nWe have a drawer panel in our app (actually there are two nested drawer panels) and in that panel we have menu with submenus (multilevel hierarchical menu). On opening and closing of submenus we are modifing the selection in those menus.\r\n\r\nWith version 1.0.6 of the paper-drawer-panel everything is working OK.\r\n\r\nUpgrading to version 1.0.7 results into calls of iron-menu-behaviour's  _onFocus handler and the async call of _defaultFocusAsync when opening and closing the submenus. \r\n\r\nSee the attached screenshot from Chrome's Timeline.  You can see the repetative calls in the first row of \"Timeline data\". The \"problematic\" timer call is selected with the stack trace.\r\n\r\n![paper_drawer_panel_focus_cycle_160307](https://cloud.githubusercontent.com/assets/1176792/13581453/38324a00-e4a7-11e5-8f80-34fb267ff2e7.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/issues/comments/197290538","html_url":"https://github.com/PolymerElements/paper-drawer-panel/issues/134#issuecomment-197290538","issue_url":"https://api.github.com/repos/PolymerElements/paper-drawer-panel/issues/134","id":197290538,"user":{"login":"TomasAgoston","id":1176792,"avatar_url":"https://avatars.githubusercontent.com/u/1176792?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasAgoston","html_url":"https://github.com/TomasAgoston","followers_url":"https://api.github.com/users/TomasAgoston/followers","following_url":"https://api.github.com/users/TomasAgoston/following{/other_user}","gists_url":"https://api.github.com/users/TomasAgoston/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasAgoston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasAgoston/subscriptions","organizations_url":"https://api.github.com/users/TomasAgoston/orgs","repos_url":"https://api.github.com/users/TomasAgoston/repos","events_url":"https://api.github.com/users/TomasAgoston/events{/privacy}","received_events_url":"https://api.github.com/users/TomasAgoston/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T12:14:23Z","updated_at":"2016-03-16T12:14:23Z","body":"Sorry for the late response.\r\n\r\nThe current version 1.0.9 works fine. Thanks for the fix."}}