Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

103
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda