{"action":"opened","issue":{"url":"https://api.github.com/repos/ng2-ui/ng2-auto-complete/issues/71","repository_url":"https://api.github.com/repos/ng2-ui/ng2-auto-complete","labels_url":"https://api.github.com/repos/ng2-ui/ng2-auto-complete/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/ng2-ui/ng2-auto-complete/issues/71/comments","events_url":"https://api.github.com/repos/ng2-ui/ng2-auto-complete/issues/71/events","html_url":"https://github.com/ng2-ui/ng2-auto-complete/issues/71","id":194056873,"number":71,"title":"Cannot read property 'style' of undefined","user":{"login":"markkesty","id":3652614,"avatar_url":"https://avatars.githubusercontent.com/u/3652614?v=3","gravatar_id":"","url":"https://api.github.com/users/markkesty","html_url":"https://github.com/markkesty","followers_url":"https://api.github.com/users/markkesty/followers","following_url":"https://api.github.com/users/markkesty/following{/other_user}","gists_url":"https://api.github.com/users/markkesty/gists{/gist_id}","starred_url":"https://api.github.com/users/markkesty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markkesty/subscriptions","organizations_url":"https://api.github.com/users/markkesty/orgs","repos_url":"https://api.github.com/users/markkesty/repos","events_url":"https://api.github.com/users/markkesty/events{/privacy}","received_events_url":"https://api.github.com/users/markkesty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-07T14:01:23Z","updated_at":"2016-12-07T14:01:23Z","closed_at":null,"body":"On line 152 of ng2-auto-complete.directive.ts, there is a reference to component.inputEl. While component is defined, inputEl is not and so I get the following console error: \r\n\r\ncore.umd.js:2844 TypeError: Cannot read property 'style' of undefined\r\n    at Ng2AutoCompleteDirective.styleAutoCompleteDropdown (ng2-auto-complete.directive.ts:152)\r\n    at ZoneDelegate.invokeTask (zone.js:236)\r\n    at Object.onInvokeTask (core.umd.js:5967)\r\n    at ZoneDelegate.invokeTask (zone.js:235)\r\n    at Zone.runTask (zone.js:136)\r\n    at ZoneTask.invoke (zone.js:304)"}}
{"actor":{"display_login":"markkesty"}}