1

Images won't render initially in Chrome, but if I resize the page they appear, or if I change any arbitrary css property. React version is 0.13.1.

It doesn't appear to be a cache issue.

Here is my code.

var ios_store = "/images/android-app.png";
var google_store = "/images/ios-app.png";

<div className="app-store-container">
  <img src={google_store} />
  <img src={ios_store} />
</div>
1
  • Can you post a link/jsfiddle that reproduces the problem? Commented Nov 3, 2015 at 16:22

1 Answer 1

1

You probably have the images in a div with height or width set to 0

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.