{"action":"created","issue":{"url":"https://api.github.com/repos/akiran/react-slick/issues/85","repository_url":"https://api.github.com/repos/akiran/react-slick","labels_url":"https://api.github.com/repos/akiran/react-slick/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/akiran/react-slick/issues/85/comments","events_url":"https://api.github.com/repos/akiran/react-slick/issues/85/events","html_url":"https://github.com/akiran/react-slick/issues/85","id":96421675,"number":85,"title":"Slider goes to first slider when changing route with react-router","user":{"login":"cport1","id":1678629,"avatar_url":"https://avatars0.githubusercontent.com/u/1678629?v=4","gravatar_id":"","url":"https://api.github.com/users/cport1","html_url":"https://github.com/cport1","followers_url":"https://api.github.com/users/cport1/followers","following_url":"https://api.github.com/users/cport1/following{/other_user}","gists_url":"https://api.github.com/users/cport1/gists{/gist_id}","starred_url":"https://api.github.com/users/cport1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cport1/subscriptions","organizations_url":"https://api.github.com/users/cport1/orgs","repos_url":"https://api.github.com/users/cport1/repos","events_url":"https://api.github.com/users/cport1/events{/privacy}","received_events_url":"https://api.github.com/users/cport1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-07-21T21:36:17Z","updated_at":"2017-09-06T14:57:26Z","closed_at":"2015-07-21T22:49:38Z","author_association":"NONE","body":"I am changing the route in the afterChange method, but when doing so it sometimes jumps to the 1st slide.\n\n render() {\n        var self = this;\n        function goTo(event){\n            self.context.router.replaceWith(pages[event].path);\n        }\n        var settings = {\n            dots: false,\n            infinite: true,\n            arrows: true,\n            speed: 500,\n            slidesToShow: 1,\n            slidesToScroll: 1,\n            afterChange: function(event){\n                goTo(event);\n            }\n        };\n"},"comment":{"url":"https://api.github.com/repos/akiran/react-slick/issues/comments/327510621","html_url":"https://github.com/akiran/react-slick/issues/85#issuecomment-327510621","issue_url":"https://api.github.com/repos/akiran/react-slick/issues/85","id":327510621,"user":{"login":"neculaionutni","id":20223759,"avatar_url":"https://avatars3.githubusercontent.com/u/20223759?v=4","gravatar_id":"","url":"https://api.github.com/users/neculaionutni","html_url":"https://github.com/neculaionutni","followers_url":"https://api.github.com/users/neculaionutni/followers","following_url":"https://api.github.com/users/neculaionutni/following{/other_user}","gists_url":"https://api.github.com/users/neculaionutni/gists{/gist_id}","starred_url":"https://api.github.com/users/neculaionutni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neculaionutni/subscriptions","organizations_url":"https://api.github.com/users/neculaionutni/orgs","repos_url":"https://api.github.com/users/neculaionutni/repos","events_url":"https://api.github.com/users/neculaionutni/events{/privacy}","received_events_url":"https://api.github.com/users/neculaionutni/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T14:57:26Z","updated_at":"2017-09-06T14:57:26Z","author_association":"NONE","body":"@cport1  that may fix it for when you change between routes, but if you refresh the route the slick will break."}}
{"actor":{"display_login":"neculaionutni"}}