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

country code is replace with default country code when we are backspacing to clear only number #436

Open kamiyabzignuts opened 7 months ago

kamiyabzignuts commented 7 months ago

Hello, currently country code is replace with default country code when will backspacing to clear only number. as soon as fist digit of number is clear it is replace default country code but I want to stay country code as its user input example default country +971 if input +91 94 and if I clear only 94 to change different number country code also set to default country it is very bad user experiance