We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img should load inside
<div class="parallax-container"> <div class="parallax">
but it does not show up.
https://codepen.io/flyingDonut/pen/bGpqRpg
Looking for solution or if this is a mistake on my part.
Copy and paste the html code in codepen in VSC and open file in a browser.
cc: @Dogfalo @DanielRuf
The text was updated successfully, but these errors were encountered:
Just spent a solid 2 hours trying to figure it out.
Found this snippet in the css file:
parallax-container .parallax img { opacity: 0; ... }
Setting the opacity back to 100 gets the img back solves the issue. Any particular reasons for this default value?
Sorry, something went wrong.
See https://github.com/Dogfalo/materialize/blob/v1-dev/js/parallax.js#L100
I do not know the reasons. Probably a workaround to do not show loading images and to prevent possible rendering bugs.
But this is still the original rewritten code from 3 years ago.
Gotchu, thanks for the follow-up Daniel. Maybe I'll leave the value to 100 for now.
No branches or pull requests
Expected Behavior
img should load inside
but it does not show up.
Current Behavior
https://codepen.io/flyingDonut/pen/bGpqRpg
Possible Solution
Looking for solution or if this is a mistake on my part.
Steps to Reproduce (for bugs)
Copy and paste the html code in codepen in VSC and open file in a browser.
Your Environment
cc: @Dogfalo @DanielRuf
The text was updated successfully, but these errors were encountered: