catamphetamine / react-phone-number-input

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

Bugs on country flags management #407

Open jcfgt opened 2 years ago

jcfgt commented 2 years ago

Hello I found some bugs with French overseas (but not only)

  1. Guadeloupe flag is bad. the component displays French flag, but the Guadeloupean flag is flag
  2. Some locations flags disappears on keypress or on refresh (Albania, Algeria, Andora, Cyprus, Guadeloupe and more again)

Capture d'écran Deepin_zone de sélection _20220624115000 Capture d'écran Deepin_zone de sélection _20220624115116 Capture d'écran Deepin_zone de sélection _20220624115203 Capture d'écran Deepin_zone de sélection _20220624115218

catamphetamine commented 2 years ago

Guadeloupe flag is bad. the component displays French flag, but the Guadeloupean flag is

The library uses the official and commonly-accepted one:

https://en.wikipedia.org/wiki/Guadeloupe

As a part of France, Guadeloupe uses the French tricolour as its flag and La Marseillaise as its anthem. However, a variety of other flags are also used in an unofficial or informal context, most notably the sun-based flag.

Some locations flags disappears on keypress or on refresh (Albania, Algeria, Andora, Cyprus, Guadeloupe and more again)

If you want to report a bug, then provide a minimal online demo somewhere on codesandbox.io along with step-by-step reproduction instructions.