Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!