{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/iron-list/issues/73","labels_url":"https://api.github.com/repos/PolymerElements/iron-list/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/iron-list/issues/73/comments","events_url":"https://api.github.com/repos/PolymerElements/iron-list/issues/73/events","html_url":"https://github.com/PolymerElements/iron-list/issues/73","id":102552591,"number":73,"title":"Container height is not set properly when iron-list is in flexbox container","user":{"login":"ebidel","id":238208,"avatar_url":"https://avatars.githubusercontent.com/u/238208?v=3","gravatar_id":"","url":"https://api.github.com/users/ebidel","html_url":"https://github.com/ebidel","followers_url":"https://api.github.com/users/ebidel/followers","following_url":"https://api.github.com/users/ebidel/following{/other_user}","gists_url":"https://api.github.com/users/ebidel/gists{/gist_id}","starred_url":"https://api.github.com/users/ebidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebidel/subscriptions","organizations_url":"https://api.github.com/users/ebidel/orgs","repos_url":"https://api.github.com/users/ebidel/repos","events_url":"https://api.github.com/users/ebidel/events{/privacy}","received_events_url":"https://api.github.com/users/ebidel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-22T17:24:03Z","updated_at":"2015-08-24T19:11:11Z","closed_at":null,"body":"My iron-list is sized inside a flex parent. So no explicit height but sized. The wrapper element is getting set to the full height of the scroll container (`height: 28382px` in the screenshot) instead of the height of the physical viewport. This causes the list not to regenerate on scroll.\r\n\r\n<img width=\"1239\" alt=\"screen shot 2015-08-22 at 10 15 55 am\" src=\"https://cloud.githubusercontent.com/assets/238208/9425066/ad1b064a-48b7-11e5-9224-3820f9e775a6.png\">\r\n\r\nMy current workaround is to set the height of the list on attached:\r\n\r\n    attached: function() {\r\n      this.$.ironlist.style.height = Polymer.dom(this).node.clientHeight + 'px';\r\n    },\r\n"},"comment":{"url":"https://api.github.com/repos/PolymerElements/iron-list/issues/comments/134343922","html_url":"https://github.com/PolymerElements/iron-list/issues/73#issuecomment-134343922","issue_url":"https://api.github.com/repos/PolymerElements/iron-list/issues/73","id":134343922,"user":{"login":"ebidel","id":238208,"avatar_url":"https://avatars.githubusercontent.com/u/238208?v=3","gravatar_id":"","url":"https://api.github.com/users/ebidel","html_url":"https://github.com/ebidel","followers_url":"https://api.github.com/users/ebidel/followers","following_url":"https://api.github.com/users/ebidel/following{/other_user}","gists_url":"https://api.github.com/users/ebidel/gists{/gist_id}","starred_url":"https://api.github.com/users/ebidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebidel/subscriptions","organizations_url":"https://api.github.com/users/ebidel/orgs","repos_url":"https://api.github.com/users/ebidel/repos","events_url":"https://api.github.com/users/ebidel/events{/privacy}","received_events_url":"https://api.github.com/users/ebidel/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T19:11:11Z","updated_at":"2015-08-24T19:11:11Z","body":"Perhaps this is some kind of race condition where the flex container doesn't have layout before iron-list does its setup calculations?"}}