ekwonye-richard / react-flags-select

Customizable svg flags select components for React Js
197 stars 121 forks source link

Missing images #65

Closed yoanndelattre closed 3 years ago

yoanndelattre commented 4 years ago

The images of the flags are missing.

Capture web code inspect

aakanshu commented 3 years ago

@yoanndelattre I'm facing the same issue on upgrading my react-scripts to version 4 ("react-scripts": "^4.0.1" ). For version 3 it is working fine. If possible try downgrading react-script and try.

yoanndelattre commented 3 years ago

@aakanshu Ok, I downgraded react-scripts to version 3.4.4 and it works! We'll still have to see what the problem is. Do I have to close this issue?

aakanshu commented 3 years ago

@yoanndelattre let it be open, as it is a temporary fix for now. If you inspect the broken image you can see it is not getting path correctly.

hmadhsan commented 3 years ago

Downgrade react-scripts to version 3.4.4 worked for me too.

ekwonye-richard commented 3 years ago

This issue has been resolved in v2 which now renders the flags as SVGs