{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/946","repository_url":"https://api.github.com/repos/algolia/instantsearch.js","labels_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/946/comments","events_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/946/events","html_url":"https://github.com/algolia/instantsearch.js/issues/946","id":142598354,"number":946,"title":"Placing cursor at the end of search query?","user":{"login":"powtac","id":36167,"avatar_url":"https://avatars.githubusercontent.com/u/36167?v=3","gravatar_id":"","url":"https://api.github.com/users/powtac","html_url":"https://github.com/powtac","followers_url":"https://api.github.com/users/powtac/followers","following_url":"https://api.github.com/users/powtac/following{/other_user}","gists_url":"https://api.github.com/users/powtac/gists{/gist_id}","starred_url":"https://api.github.com/users/powtac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powtac/subscriptions","organizations_url":"https://api.github.com/users/powtac/orgs","repos_url":"https://api.github.com/users/powtac/repos","events_url":"https://api.github.com/users/powtac/events{/privacy}","received_events_url":"https://api.github.com/users/powtac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T09:53:38Z","updated_at":"2016-03-22T13:08:58Z","closed_at":null,"body":"When having `autofocus: true` in the searchBox widget and `urlSync` activated in the instantsearch, the search box is populated with the previous search query after a reload happens and the cursor is placed (with focus()?) into the search box input field.\r\n\r\n![unbenannt](https://cloud.githubusercontent.com/assets/36167/13947604/cc067efc-f01b-11e5-94b6-d9e12075d880.PNG)\r\n\r\nIn this case I would **expect that the cursor is placed at the end** of the query and not at the beginning. \r\n"},"comment":{"url":"https://api.github.com/repos/algolia/instantsearch.js/issues/comments/199805512","html_url":"https://github.com/algolia/instantsearch.js/issues/946#issuecomment-199805512","issue_url":"https://api.github.com/repos/algolia/instantsearch.js/issues/946","id":199805512,"user":{"login":"powtac","id":36167,"avatar_url":"https://avatars.githubusercontent.com/u/36167?v=3","gravatar_id":"","url":"https://api.github.com/users/powtac","html_url":"https://github.com/powtac","followers_url":"https://api.github.com/users/powtac/followers","following_url":"https://api.github.com/users/powtac/following{/other_user}","gists_url":"https://api.github.com/users/powtac/gists{/gist_id}","starred_url":"https://api.github.com/users/powtac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powtac/subscriptions","organizations_url":"https://api.github.com/users/powtac/orgs","repos_url":"https://api.github.com/users/powtac/repos","events_url":"https://api.github.com/users/powtac/events{/privacy}","received_events_url":"https://api.github.com/users/powtac/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T13:08:58Z","updated_at":"2016-03-22T13:08:58Z","body":"* Firefox 45.0.1\r\n* Windows 7\r\n"}}