{"action":"created","issue":{"url":"https://api.github.com/repos/cibernox/ember-power-select/issues/91","labels_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/91/comments","events_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/91/events","html_url":"https://github.com/cibernox/ember-power-select/issues/91","id":114622478,"number":91,"title":"Multiple w/ server side queries freeze up after 1 character typed","user":{"login":"bakerac4","id":9952936,"avatar_url":"https://avatars.githubusercontent.com/u/9952936?v=3","gravatar_id":"","url":"https://api.github.com/users/bakerac4","html_url":"https://github.com/bakerac4","followers_url":"https://api.github.com/users/bakerac4/followers","following_url":"https://api.github.com/users/bakerac4/following{/other_user}","gists_url":"https://api.github.com/users/bakerac4/gists{/gist_id}","starred_url":"https://api.github.com/users/bakerac4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakerac4/subscriptions","organizations_url":"https://api.github.com/users/bakerac4/orgs","repos_url":"https://api.github.com/users/bakerac4/repos","events_url":"https://api.github.com/users/bakerac4/events{/privacy}","received_events_url":"https://api.github.com/users/bakerac4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T15:53:08Z","updated_at":"2015-11-02T15:58:28Z","closed_at":null,"body":"After I type one character in 'a', it shows results which works great. But then I try to filter it more by typing 'l' and it locks up the browser and I end up having to close the tab.\r\nMy normal template\r\n```\r\n{{#type-ahead modelName='friend' selection=taggedFriends multiple=true placeholder=\"Tag a friend\" as |item|}}\r\n{{item.name}}\r\n{{/type-ahead}}\r\n```\r\n\r\nThe component\r\n```\r\nimport Ember from 'ember';\r\n// import DS from 'ember-data';\r\n\r\nexport default Ember.Component.extend({\r\n    selection: null,\r\n    modelName: null,\r\n    filter: null,\r\n    optionLabelPath: 'name',\r\n    multiple: false,\r\n    placeholder: 'Select an item',\r\n    actions: {\r\n        getData: function(filter) {\r\n            return this.store.query(this.get('modelName'), { name: filter });\r\n        }\r\n    }\r\n});\r\n```\r\nThe component template\r\n```\r\n {{#power-select search=(action \"getData\") searchField=optionLabelPath multiple=multiple selected=selection onchange=(action (mut selection)) as |item|}}\r\n      {{yield item}}\r\n {{/power-select}}\r\n```"},"comment":{"url":"https://api.github.com/repos/cibernox/ember-power-select/issues/comments/153061537","html_url":"https://github.com/cibernox/ember-power-select/issues/91#issuecomment-153061537","issue_url":"https://api.github.com/repos/cibernox/ember-power-select/issues/91","id":153061537,"user":{"login":"cibernox","id":265339,"avatar_url":"https://avatars.githubusercontent.com/u/265339?v=3","gravatar_id":"","url":"https://api.github.com/users/cibernox","html_url":"https://github.com/cibernox","followers_url":"https://api.github.com/users/cibernox/followers","following_url":"https://api.github.com/users/cibernox/following{/other_user}","gists_url":"https://api.github.com/users/cibernox/gists{/gist_id}","starred_url":"https://api.github.com/users/cibernox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cibernox/subscriptions","organizations_url":"https://api.github.com/users/cibernox/orgs","repos_url":"https://api.github.com/users/cibernox/repos","events_url":"https://api.github.com/users/cibernox/events{/privacy}","received_events_url":"https://api.github.com/users/cibernox/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T15:58:28Z","updated_at":"2015-11-02T15:58:28Z","body":"Interesting. This component is not doing anything specially clever with promises returned from the `search` action, so I wonder what's going on.\r\n\r\nJust for the sake of completeness, which version of the ember and ember-data are you using? How many items are your returning as an average for each search?\r\n\r\nI'll try to reproduce it using just ember-cli-mirage. "}}