{"action":"closed","issue":{"url":"https://api.github.com/repos/akiran/react-slick/issues/1010","repository_url":"https://api.github.com/repos/akiran/react-slick","labels_url":"https://api.github.com/repos/akiran/react-slick/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/akiran/react-slick/issues/1010/comments","events_url":"https://api.github.com/repos/akiran/react-slick/issues/1010/events","html_url":"https://github.com/akiran/react-slick/issues/1010","id":295344860,"number":1010,"title":"Slider doesn't update width without triggering component rerender.","user":{"login":"GeorgySerga","id":9346874,"avatar_url":"https://avatars1.githubusercontent.com/u/9346874?v=4","gravatar_id":"","url":"https://api.github.com/users/GeorgySerga","html_url":"https://github.com/GeorgySerga","followers_url":"https://api.github.com/users/GeorgySerga/followers","following_url":"https://api.github.com/users/GeorgySerga/following{/other_user}","gists_url":"https://api.github.com/users/GeorgySerga/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgySerga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgySerga/subscriptions","organizations_url":"https://api.github.com/users/GeorgySerga/orgs","repos_url":"https://api.github.com/users/GeorgySerga/repos","events_url":"https://api.github.com/users/GeorgySerga/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgySerga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/akiran/react-slick/milestones/9","html_url":"https://github.com/akiran/react-slick/milestone/9","labels_url":"https://api.github.com/repos/akiran/react-slick/milestones/9/labels","id":3125702,"number":9,"title":".20","description":null,"creator":{"login":"laveesingh","id":8917978,"avatar_url":"https://avatars0.githubusercontent.com/u/8917978?v=4","gravatar_id":"","url":"https://api.github.com/users/laveesingh","html_url":"https://github.com/laveesingh","followers_url":"https://api.github.com/users/laveesingh/followers","following_url":"https://api.github.com/users/laveesingh/following{/other_user}","gists_url":"https://api.github.com/users/laveesingh/gists{/gist_id}","starred_url":"https://api.github.com/users/laveesingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laveesingh/subscriptions","organizations_url":"https://api.github.com/users/laveesingh/orgs","repos_url":"https://api.github.com/users/laveesingh/repos","events_url":"https://api.github.com/users/laveesingh/events{/privacy}","received_events_url":"https://api.github.com/users/laveesingh/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":6,"state":"open","created_at":"2018-02-19T05:16:38Z","updated_at":"2018-02-23T09:45:15Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-02-08T00:37:18Z","updated_at":"2018-02-23T09:45:15Z","closed_at":"2018-02-23T09:45:15Z","author_association":"NONE","body":"<!-- Love react-slick? Please consider supporting our collective:\r\n👉  https://opencollective.com/react-slick/donate -->\r\n\r\nThe issue is the same as here pretty much: https://github.com/akiran/react-slick/issues/809 ,- without `resize` event, or any other trigger for components to rerender (modification of the props for example) the images inside slider do not adjust their size. Here is an example:\r\n![2](https://user-images.githubusercontent.com/9346874/35949072-be200fa2-0c3d-11e8-90e6-aef4e9afc805.gif)\r\n\r\nI took a look into this and was able to fix this using css `calc()` property, will PR soon.\r\n\r\n\r\n"}}
{"actor":{"display_login":"laveesingh"}}