{"action":"created","issue":{"url":"https://api.github.com/repos/material-components/material-components-web/issues/2891","repository_url":"https://api.github.com/repos/material-components/material-components-web","labels_url":"https://api.github.com/repos/material-components/material-components-web/issues/2891/labels{/name}","comments_url":"https://api.github.com/repos/material-components/material-components-web/issues/2891/comments","events_url":"https://api.github.com/repos/material-components/material-components-web/issues/2891/events","html_url":"https://github.com/material-components/material-components-web/issues/2891","id":330003582,"node_id":"MDU6SXNzdWUzMzAwMDM1ODI=","number":2891,"title":"Add Chip method broken on MDCChipSet","user":{"login":"RedTech64","id":12768272,"node_id":"MDQ6VXNlcjEyNzY4Mjcy","avatar_url":"https://avatars1.githubusercontent.com/u/12768272?v=4","gravatar_id":"","url":"https://api.github.com/users/RedTech64","html_url":"https://github.com/RedTech64","followers_url":"https://api.github.com/users/RedTech64/followers","following_url":"https://api.github.com/users/RedTech64/following{/other_user}","gists_url":"https://api.github.com/users/RedTech64/gists{/gist_id}","starred_url":"https://api.github.com/users/RedTech64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedTech64/subscriptions","organizations_url":"https://api.github.com/users/RedTech64/orgs","repos_url":"https://api.github.com/users/RedTech64/repos","events_url":"https://api.github.com/users/RedTech64/events{/privacy}","received_events_url":"https://api.github.com/users/RedTech64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-06T19:35:24Z","updated_at":"2018-06-07T21:54:35Z","closed_at":null,"author_association":"NONE","body":"## Bugs\r\n\r\nThe MDCChipSet.addChip() function is broken in 0.36.0.\r\n\r\n0.36.0: https://codepen.io/coleweinman1/pen/YvGXZx\r\n0.35.0: https://codepen.io/coleweinman1/pen/XYjbam\r\n\r\n### What MDC Web Version are you using?\r\n\r\n0.36.0\r\n\r\n### What browser(s) is this bug affecting?\r\n\r\nChrome 67\r\n\r\n### What OS are you using?\r\n\r\nWindows 10\r\n\r\n### What are the steps to reproduce the bug?\r\n\r\n1. Create a MDCChipSet\r\n2. Invoke the MDCChipSet.addChip() function\r\n\r\n### What is the expected behavior?\r\n\r\nA chip to be added to the chip set\r\n\r\n### What is the actual behavior?\r\n\r\nAn error is given:\r\nUncaught TypeError: Cannot read property 'querySelector' of undefined\r\n\r\n### Any other information you believe would be useful?\r\n\r\nAfter reverting back to 0.35.0, this error doesn't occur.\r\n"},"comment":{"url":"https://api.github.com/repos/material-components/material-components-web/issues/comments/395577844","html_url":"https://github.com/material-components/material-components-web/issues/2891#issuecomment-395577844","issue_url":"https://api.github.com/repos/material-components/material-components-web/issues/2891","id":395577844,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTU3Nzg0NA==","user":{"login":"kfranqueiro","id":398379,"node_id":"MDQ6VXNlcjM5ODM3OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/398379?v=4","gravatar_id":"","url":"https://api.github.com/users/kfranqueiro","html_url":"https://github.com/kfranqueiro","followers_url":"https://api.github.com/users/kfranqueiro/followers","following_url":"https://api.github.com/users/kfranqueiro/following{/other_user}","gists_url":"https://api.github.com/users/kfranqueiro/gists{/gist_id}","starred_url":"https://api.github.com/users/kfranqueiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfranqueiro/subscriptions","organizations_url":"https://api.github.com/users/kfranqueiro/orgs","repos_url":"https://api.github.com/users/kfranqueiro/repos","events_url":"https://api.github.com/users/kfranqueiro/events{/privacy}","received_events_url":"https://api.github.com/users/kfranqueiro/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T21:54:35Z","updated_at":"2018-06-07T21:54:35Z","author_association":"CONTRIBUTOR","body":"After discussing with the team, we think we can improve the clarity of the documentation a bit with regard to how these APIs expect the chip elements to be managed externally now, so I'll track this for that purpose."}}
{"actor":{"display_login":"kfranqueiro"}}