catamphetamine / react-phone-number-input

React component for international phone number input
http://catamphetamine.gitlab.io/react-phone-number-input/
MIT License
925 stars 194 forks source link

(legacy) [version 2.x] Some flags have dissapeared #391

Open ebaynaud opened 2 years ago

ebaynaud commented 2 years ago

Due to: https://github.com/lipis/flag-icon-css/issues/860

catamphetamine commented 2 years ago

What?

ebaynaud commented 2 years ago

Trying to understand why some of the flags have disappeared: https://flagicons.lipis.dev/

catamphetamine commented 2 years ago

This bug seems to be affecting version 2.x because it seems to have been using the now-removed flags from that lipis repo. Users should migrate to the latest version 3.x then.

ebaynaud commented 2 years ago

Indeed, upgrading solves the issue.

HasanCanUgurlu commented 2 years ago

👋🏼 I've upgraded the package to version 3.0.0 but it seems like it's still trying to fetch the icons from lipis's library. I don't see any requests from country-flag-icons. It shows flags if I use flagUrl={...purecatamphetamine.github.io/country-flag-icons... prop. How can I debug this?

catamphetamine commented 2 years ago

I've upgraded the package to version 3.0.0 but it seems like it's still trying to fetch the icons from lipis's library.

It shouldn't.

n8sabes commented 2 years ago

Indeed, I am seeing this as well. Dev and Production builds are pulling flags from purecatamphetamine.github.io.

oddVlad commented 2 years ago

When updating from version 1.1.4 to the latest, I encountered the problem of "styles flying off". Default select and other. Can I somehow upgrade leaving the old view?