cordova-plugin-wkwebview-engine icon indicating copy to clipboard operation
cordova-plugin-wkwebview-engine copied to clipboard

Input field not losing focus iOS 12.x

Open globules-io opened this issue 6 years ago • 4 comments
trafficstars

Bug Report

Problem

1- Touch input type text 2- Keyboard shows 3- Touch outside the field 4- Field not losing focus, keyboard not hiding

Environment, Platform, Device

Verified with iOS 12.4/13.0

Version information

Cordova 9.0 Cordova iOS 5.0.1 WkWebView 1.2.1

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

globules-io avatar Sep 20 '19 20:09 globules-io

I tried in the simulator and it works with iOS 12.4. Is this happening in the simulator or actual device?

spinninghamster avatar Sep 30 '19 14:09 spinninghamster

Actual device. More info: the under div covering the entire page has a touch event (non trapped). So it feels like the keyboard listener doesn't receive the touch event, which I thought was not possible as the webview would receive the touch before the dom... Will upload a video taken from iPhone showing the issue.

globules-io avatar Sep 30 '19 15:09 globules-io

Here I recorded a video. Here's what happens: 1- Touch on input, keyboard shows up 2- Touch on background (you can't see that) and the keyboard is still up 3- Touch on (?) help bubble to show a popup, keyboard still here.

ezgif com-optimize (1)

globules-io avatar Sep 30 '19 15:09 globules-io

More info: this view is sitting outside the field of view when created (like -screen_width offset), then slides in later on (like a carousel), sliding out the current view to show this one. If I create a "normal" view (not outside of screen) it works normally.

globules-io avatar Sep 30 '19 16:09 globules-io

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.

jcesarmobile avatar Jan 08 '23 23:01 jcesarmobile