{"action":"opened","issue":{"url":"https://api.github.com/repos/winjs/winjs/issues/875","labels_url":"https://api.github.com/repos/winjs/winjs/issues/875/labels{/name}","comments_url":"https://api.github.com/repos/winjs/winjs/issues/875/comments","events_url":"https://api.github.com/repos/winjs/winjs/issues/875/events","html_url":"https://github.com/winjs/winjs/issues/875","id":53819248,"number":875,"title":"AppBar overflow area does not get resized appropriately when secondary commands get hidden programmatically","user":{"login":"mkjunior19","id":6732783,"avatar_url":"https://avatars.githubusercontent.com/u/6732783?v=3","gravatar_id":"","url":"https://api.github.com/users/mkjunior19","html_url":"https://github.com/mkjunior19","followers_url":"https://api.github.com/users/mkjunior19/followers","following_url":"https://api.github.com/users/mkjunior19/following{/other_user}","gists_url":"https://api.github.com/users/mkjunior19/gists{/gist_id}","starred_url":"https://api.github.com/users/mkjunior19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkjunior19/subscriptions","organizations_url":"https://api.github.com/users/mkjunior19/orgs","repos_url":"https://api.github.com/users/mkjunior19/repos","events_url":"https://api.github.com/users/mkjunior19/events{/privacy}","received_events_url":"https://api.github.com/users/mkjunior19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-09T00:20:30Z","updated_at":"2015-01-09T00:20:30Z","closed_at":null,"body":"This reproes in IE and Chrome. \r\nRepro steps: \r\n1. Go to http://winjs-jessesh.azurewebsites.net/AppBar/\r\n2. Expand AppBar (and you'll see secondary commands) \r\n3. Uncheck 'Secondary Command' checkbox to programmatically hide secondary commands\r\n4. Expand AppBar again\r\n\r\nExpected: \r\nOnly see primary commands with labels\r\n![appbar_nosecondary_expected](https://cloud.githubusercontent.com/assets/6732783/5673548/323d06a6-9752-11e4-87f2-902e5ff532c5.PNG)\r\nActual \r\nAppBar has an empty area for hidden secondary commands. \r\n![appbar_nosecondary_actual](https://cloud.githubusercontent.com/assets/6732783/5673540/18e36178-9752-11e4-9107-1ad2db3822ca.PNG)\r\n\r\n\r\n"}}