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

106
Vistas
onClick is ignored when an input is focused and virtual keyboard is visible

In my react app noticed that onClick handlers are not invoked on Android and iOS browsers until the virtual keyboard is visible. Only "touchStart" works. So first we need to hide the keyboard and only then the onClick handlers start work. And it seems like this is ok behavior. But I could not find any proof of it. Could you drop me a link that I can use as proof?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Most likely, you are are not "wiring up" the eventhandler until after the virtual keyboard is displayed. You probably just need to move the code where "the onclick is being wired to a function" outside of its current scope (so that it happens sooner than the virtual keyboard is being displayed).

For example, maybe the onclick isn't being set until after an event that indirectly leads to the virtual keyboard being displayed (like another onclick event).

about 4 years ago · Juan Pablo Isaza Denunciar
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