Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

134
Vistas
Keyboard is not opening automatically on iPhone

I'm using React-Simple-Chatbot (https://github.com/LucasBassetti/react-simple-chatbot) for a web based chatbot. When a user input is prompted, the input field is focused. On Android this works well and opens the keyboard. On iPhone, it does not open the keyboard automatically, the user has to click the input field, then it opens.

The input field is from the styled-components library. I forked the project, to not only focus but also click the input field.

chatbot.input.focus();
chatbot.input.click();

How can I use Javascript to open the keyboard on iPhone Safari?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda