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

Input loses focus on mobile after selecting country #412

Open zingerj opened 1 year ago

zingerj commented 1 year ago

There's a bug (reproducible on the demo page) on mobile devices where the input loses focus after selecting a country. The input correctly focuses after selecting the country and the keyboard pops up, but it loses focus right after.

Steps to reproduce

  1. Select a country
  2. Input is focused
  3. Input loses focus