Tomas Brambora Tomas Brambora - 1 year ago 113
iOS Question

Cordova ios WKWebView first touchstart event not firing when keyboard is up

I just upgraded my cordova app from UIWebView to WKWebView and I noticed when I set input on a contenteditable (which brings up the keyboard) and then click on a button outside of the contenteditable, the first

event does not fire (or to be precise, it fires but only on
, not the button). The next touchstart works as expected.

I need the touchstart to bring up a list of contacts (and not close the keyboard).

Anyone knows what's up with that, please? Thanks!

Answer Source

Looks like this was actually caused by me not shrinking the viewport (might be related to ?). There's a setting for that in cordova.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download