{"action":"closed","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/2500","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/2500/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/2500/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/2500/events","html_url":"https://github.com/Polymer/polymer/issues/2500","id":109143049,"number":2500,"title":"this.$ is empty when elements are inside dom-if","user":{"login":"lizlux","id":201367,"avatar_url":"https://avatars.githubusercontent.com/u/201367?v=3","gravatar_id":"","url":"https://api.github.com/users/lizlux","html_url":"https://github.com/lizlux","followers_url":"https://api.github.com/users/lizlux/followers","following_url":"https://api.github.com/users/lizlux/following{/other_user}","gists_url":"https://api.github.com/users/lizlux/gists{/gist_id}","starred_url":"https://api.github.com/users/lizlux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizlux/subscriptions","organizations_url":"https://api.github.com/users/lizlux/orgs","repos_url":"https://api.github.com/users/lizlux/repos","events_url":"https://api.github.com/users/lizlux/events{/privacy}","received_events_url":"https://api.github.com/users/lizlux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-30T17:40:44Z","updated_at":"2015-09-30T18:40:13Z","closed_at":"2015-09-30T18:40:13Z","body":"I have a component that looks something like this: \r\n```\r\n<template>\r\n\t<template is=\"dom-if\" if=\"{{userLoggedIn}}\">\r\n\t\t<div class=\"logged-in-wrapper\" id=\"loggedInWrapper\">\r\n\t\t\t<content></content>\r\n\t\t</div>\r\n\t</template>\r\n\t<template is=\"dom-if\" if=\"{{!userLoggedIn}}\">\r\n\t\t<div class=\"logged-out-wrapper\" id=\"loggedOutWrapper\">\r\n\t\t\t<content></content>\r\n\t\t</div>\r\n\t</template>\r\n</template\r\n```\r\n\r\nIn the `ready` function, `this.$` is empty, even though there are two elements that have ids. When I removed the wrapping `<template is=\"dom-if\"...`, `this.$` was populated with the expected ID'd elements.  I'm running polymer 1.1.3. "}}