slick kills my background-attachment
See original GitHub issueHi! I know i have to provide a demo, but i couldn’t reproduce the issue with less sources. But i have the site online, so you can take a look this page. At the third section should a fixed background-image be displayed. In all major browser and os except chrome it works like a charm.
i’ve tried all the known fixes for this bug like:
backface-visibility: hidden;
-webkit-perspective: 1000;
-webkit-transform: translate3d(0, 0, 0);
-webkit-transform: translateZ(0);
Could you please take a look at even i didnt follow you guidlines?
A link to your production site is not a reduced test case.
Thanks for any help and greate plugin!
Issue Analytics
- State:
- Created 9 years ago
- Comments:21 (1 by maintainers)
Top Results From Across the Web
The Fixed Background Attachment Hack - CSS-Tricks
You can ditch this idea completely and let the background scroll on small screens using media queries. Or get around it with a...
Read more >Overflow for slick slider with fixed background, how to prevent ...
Here are steps how to fix it. add to css .home-slider .slick-list { overflow: visible !important; } - you need IMPORTANT as {overflow: ......
Read more >Super 8 Slick Braided Fishing Line, 80Lb - West Marine
Built stronger for a smoother cast, Super 8 Slick Braided Fishing Line meets the high-performance demands of anglers. PowerPro constructed this line with...
Read more >Slick Back Stickers for Sale - Redbubble
Unique Slick Back stickers featuring millions of original designs created and sold by independent artists. Decorate your laptops, water bottles, ...
Read more >Rainbow photography, Rainbow aesthetic, Oil slick - Pinterest
In Hunt for Red Abalone, Divers Face Risks and Poachers Face the Law ... Imgur: The magic of the Internet Trippy Wallpaper, Iphone...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi all, I am actually also having this problem. I assume the PR was never created?
Slick.js uses transforms to smoothly move slides which create a new stacking context. See this discussion for an explanation.
I get around this issue first by manually removing the transform3d css on the slick-track and slick-list elements (parallax in Firefox won’t work without this) and then by setting fade: true in the slick settings:
$(“.mySlider”).on(“init”, function(event, slick){ $(this).find(“.slick-list”).css(“transform”, “none”); $(this).find(“.slick-track”).css(“transform”, “none”); }) $(“.mySlider”).slick({ fade: true, });