I'm creating a scroll down FX using jquery animate and background attachement fixed's size cover images. The problem is that the bg images seems to doesn't fully load when the DOM is loading, displaying only a little part of them. But this only happens in Chrome.
Debugging results:
1- If I inspect the element, turn off the background property and turn it on again the image is fully displayed.
2- If I don't use jquery animate, the issue is gone
So it has to be a problem with jquery.animate + attachment fixed bgs. Firts I thought about some -webkit property called by the animate implementation, but in Safari works fine.
Any thoughts?
PD: I can't post the code right now cause I've signed a NDA, but I will do it the next week when the project is live, in order to make this question and it's answers more helpfull, sorry.
Thanks!
Solutions
I've found a couple of great solutions in this topic:
Fixed attachment background image flicker/disappear in chrome when coupled with a css transform
I did a hack in order to fix the issue later, in my case deleting the "position:relative" of the backgrounded div hacked the problem. But is not a great solution I recomend to read the post linked.
Hope it could help somebody, A. Wolff included ;)