{"action":"created","issue":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/187","repository_url":"https://api.github.com/repos/kenwheeler/slick","labels_url":"https://api.github.com/repos/kenwheeler/slick/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/kenwheeler/slick/issues/187/comments","events_url":"https://api.github.com/repos/kenwheeler/slick/issues/187/events","html_url":"https://github.com/kenwheeler/slick/issues/187","id":32346043,"number":187,"title":"If content is hidden during Slick bootstrap, Slick refuses to play ball","user":{"login":"alexrussell","id":412784,"avatar_url":"https://avatars.githubusercontent.com/u/412784?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrussell","html_url":"https://github.com/alexrussell","followers_url":"https://api.github.com/users/alexrussell/followers","following_url":"https://api.github.com/users/alexrussell/following{/other_user}","gists_url":"https://api.github.com/users/alexrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrussell/subscriptions","organizations_url":"https://api.github.com/users/alexrussell/orgs","repos_url":"https://api.github.com/users/alexrussell/repos","events_url":"https://api.github.com/users/alexrussell/events{/privacy}","received_events_url":"https://api.github.com/users/alexrussell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2014-04-28T10:03:40Z","updated_at":"2016-08-10T13:08:04Z","closed_at":"2014-04-28T12:01:44Z","body":"I'm not sure that this is easily fixable but I'm implementing Slick on a Bootstrap website and I have a Slick-based gallery in a set of Bootstrap tabs. If the gallery tab is the active one on page load, the Slick carousel works fine, but if the gallery tab is not the one that's active on page load the Slick carousel seems to break (the tab basically looks empty).\r\n\r\nAt a guess this is due to the items being hidden as Slick is set up against the items and so Slick can't calculate the dimensions of the slides, etc.\r\n\r\nA possible non-Slick-based fix is to hook into BS tab event system and only call `$.fx.slick()` when the tab is first switched to. Of course this only works for JavaScript components that allow a developer to hook into this kind of event system, so maybe there's a way for Slick to get round this limitation without requiring developers to do these hackish bits of code (which they sometimes may not be able to do)."},"comment":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/comments/238860859","html_url":"https://github.com/kenwheeler/slick/issues/187#issuecomment-238860859","issue_url":"https://api.github.com/repos/kenwheeler/slick/issues/187","id":238860859,"user":{"login":"clauz","id":63949,"avatar_url":"https://avatars.githubusercontent.com/u/63949?v=3","gravatar_id":"","url":"https://api.github.com/users/clauz","html_url":"https://github.com/clauz","followers_url":"https://api.github.com/users/clauz/followers","following_url":"https://api.github.com/users/clauz/following{/other_user}","gists_url":"https://api.github.com/users/clauz/gists{/gist_id}","starred_url":"https://api.github.com/users/clauz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clauz/subscriptions","organizations_url":"https://api.github.com/users/clauz/orgs","repos_url":"https://api.github.com/users/clauz/repos","events_url":"https://api.github.com/users/clauz/events{/privacy}","received_events_url":"https://api.github.com/users/clauz/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T13:08:04Z","updated_at":"2016-08-10T13:08:04Z","body":"After playing with js to set min widths for the content and getting very very close but always having an issue with the transitions, I came across this and the resize() did it for me....thank you!!!!!!!!!!!!!"}}
{"actor":{"display_login":"clauz"}}