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?
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).