{"action":"created","issue":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/1143","labels_url":"https://api.github.com/repos/kenwheeler/slick/issues/1143/labels{/name}","comments_url":"https://api.github.com/repos/kenwheeler/slick/issues/1143/comments","events_url":"https://api.github.com/repos/kenwheeler/slick/issues/1143/events","html_url":"https://github.com/kenwheeler/slick/issues/1143","id":62056608,"number":1143,"title":"Disable the use of css transforms","user":{"login":"rikkertkoppes","id":302821,"avatar_url":"https://avatars.githubusercontent.com/u/302821?v=3","gravatar_id":"","url":"https://api.github.com/users/rikkertkoppes","html_url":"https://github.com/rikkertkoppes","followers_url":"https://api.github.com/users/rikkertkoppes/followers","following_url":"https://api.github.com/users/rikkertkoppes/following{/other_user}","gists_url":"https://api.github.com/users/rikkertkoppes/gists{/gist_id}","starred_url":"https://api.github.com/users/rikkertkoppes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikkertkoppes/subscriptions","organizations_url":"https://api.github.com/users/rikkertkoppes/orgs","repos_url":"https://api.github.com/users/rikkertkoppes/repos","events_url":"https://api.github.com/users/rikkertkoppes/events{/privacy}","received_events_url":"https://api.github.com/users/rikkertkoppes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T11:57:57Z","updated_at":"2015-03-18T08:41:37Z","closed_at":null,"body":"Since `position:fixed` breaks when using css transforms (<https://code.google.com/p/chromium/issues/detail?id=20574>), a feature to disable it altogether would be nice (and live with left / top transitions).\r\n\r\nSince there is already `transformsEnabled` internally, this would be a rather minimal adjustment.\r\n\r\nProposed changes:\r\n\r\n- add an option `useTransform`, default to false\r\n- change [this line](https://github.com/theapsgroup/slick/blob/master/slick/slick.js#L1654) to \r\n\r\n        _.transformsEnabled = _.options.useTransform && (_.animType !== null && _.animType !== false);\r\n\r\n- add a class if transforms are enabled:\r\n\r\n        if (_.transformsEnabled) {\r\n            _.$slider.addClass('use-transform');\r\n        }\r\n\r\n- only use transforms for that class\r\n\r\n        .slick-slider.use-transform .slick-track,\r\n        .slick-slider.use-transform .slick-list {\r\n            -webkit-transform: translate3d(0, 0, 0);\r\n            -moz-transform: translate3d(0, 0, 0);\r\n            -ms-transform: translate3d(0, 0, 0);\r\n            -o-transform: translate3d(0, 0, 0);\r\n            transform: translate3d(0, 0, 0);\r\n        }"},"comment":{"url":"https://api.github.com/repos/kenwheeler/slick/issues/comments/82822348","html_url":"https://github.com/kenwheeler/slick/issues/1143#issuecomment-82822348","issue_url":"https://api.github.com/repos/kenwheeler/slick/issues/1143","id":82822348,"user":{"login":"simeydotme","id":2817396,"avatar_url":"https://avatars.githubusercontent.com/u/2817396?v=3","gravatar_id":"","url":"https://api.github.com/users/simeydotme","html_url":"https://github.com/simeydotme","followers_url":"https://api.github.com/users/simeydotme/followers","following_url":"https://api.github.com/users/simeydotme/following{/other_user}","gists_url":"https://api.github.com/users/simeydotme/gists{/gist_id}","starred_url":"https://api.github.com/users/simeydotme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simeydotme/subscriptions","organizations_url":"https://api.github.com/users/simeydotme/orgs","repos_url":"https://api.github.com/users/simeydotme/repos","events_url":"https://api.github.com/users/simeydotme/events{/privacy}","received_events_url":"https://api.github.com/users/simeydotme/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T08:41:37Z","updated_at":"2015-03-18T08:41:37Z","body":"which element is `position: fixed;` ?"}}