{"action":"opened","issue":{"url":"https://api.github.com/repos/ivanthecrazy/ion-place-autocomplete/issues/10","repository_url":"https://api.github.com/repos/ivanthecrazy/ion-place-autocomplete","labels_url":"https://api.github.com/repos/ivanthecrazy/ion-place-autocomplete/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ivanthecrazy/ion-place-autocomplete/issues/10/comments","events_url":"https://api.github.com/repos/ivanthecrazy/ion-place-autocomplete/issues/10/events","html_url":"https://github.com/ivanthecrazy/ion-place-autocomplete/issues/10","id":189468700,"number":10,"title":"Sometimes there's no dropdown after autocomplete service","user":{"login":"jakub-g","id":1437027,"avatar_url":"https://avatars.githubusercontent.com/u/1437027?v=3","gravatar_id":"","url":"https://api.github.com/users/jakub-g","html_url":"https://github.com/jakub-g","followers_url":"https://api.github.com/users/jakub-g/followers","following_url":"https://api.github.com/users/jakub-g/following{/other_user}","gists_url":"https://api.github.com/users/jakub-g/gists{/gist_id}","starred_url":"https://api.github.com/users/jakub-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakub-g/subscriptions","organizations_url":"https://api.github.com/users/jakub-g/orgs","repos_url":"https://api.github.com/users/jakub-g/repos","events_url":"https://api.github.com/users/jakub-g/events{/privacy}","received_events_url":"https://api.github.com/users/jakub-g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-15T18:24:27Z","updated_at":"2016-11-15T18:24:27Z","closed_at":null,"body":"Hi @ivanthecrazy,\r\nfirst thanks for putting the code here, I tried several other solutions before and there were some issues with all of them, this one is the best one for me so far, simple and reliable\r\n\r\nI've noticed that sometimes `service.getQueryPredictions` fires the callback and even though there were predictions, it does not display the dropdown\r\n\r\nThe solution is to add \r\n\r\n            scope.dropDownActive = scope.locations.length > 0;\r\n\r\nin L66\r\n\r\nhttps://github.com/ivanthecrazy/ion-place-autocomplete/blob/e7a52d6a378f2c6eca48b5600a597af5e238ab77/ion-place-autocomplete.js#L66\r\n\r\nRegards\r\nJakub\r\n\r\n"}}
{"actor":{"display_login":"jakub-g"}}