Slow keyboard response to iOS Cordova app

I am working on a chirid app for Android and iOS with Cordova. I decided to delay events per click for 300 ms using fastClick.js , but I cannot find any solution to delay my application when the input is focused for the first time.

After the first time, the keyboard sometimes has a delay, and sometimes not. The first time a delay is always present.

Any ideas?

+5
source share
1 answer

Not sure what causes the problem. One hack may be to trigger focus / blur on the input before the user clicks on the input itself. However, I could not create a working code snippet and am still experiencing a delay ...

// Not working: First thought $(selection).trigger('focus'); $(selection).trigger('blur'); // Not working: Second thought $(selection).trigger('click'); $(selection).trigger('click'); 
0
source

All Articles