question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

slick kills my background-attachment

See original GitHub issue

Hi! 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:closed
  • Created 9 years ago
  • Comments:21 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
mmdonaldsoncommented, May 24, 2017

Hi all, I am actually also having this problem. I assume the PR was never created?

1reaction
killianmhcommented, Feb 26, 2019

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, });

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found