cordova-electron icon indicating copy to clipboard operation
cordova-electron copied to clipboard

Windows 10 Surface virtual keyboard not appearing when an input field gets focus.

Open tk505 opened this issue 4 years ago • 1 comments

Bug Report

Problem

I made a fresh cordova app with only a header and an input field in the index.html. I add electron as a platform (1.1.1), build and install this app on Windows 10 surface device. When the app loads the user touches the input field which gets focus (caret appears)

What is expected to happen?

Virtual keyboard should display.

What does actually happen?

Virtual keyboard not appearing.

Information

If I build and run the same app to android the virtual keyboard displays as expected. There were some reports of a similar bug in chromium which seem to have been fixed late last year (November). Not 100% sure if that would cause this issue. Has anyone witnessed this issue? Is it expected that 2.0.0 (which uses electron 8.2.5) would resolve this? If so is there any idea on 2.0.0 release date? Otherwise is there any suggested workaround?

Environment, Platform, Device

Windows 10 Surface. (Windows 10 Pro (4) - 10.0.18362)

Version information

Cordova: 9.0.0 ([email protected])

"cordova-common": "^3.2.0", "electron": "^4.0.1", "electron-builder": "^20.38.4", "fs-extra": "^8.0.1", "nopt": "^4.0.1", "shelljs": "^0.5.3"

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

tk505 avatar May 05 '20 16:05 tk505

I can confirm that I am having the same issue with v1.1.1. I can also confirm that upgrading to 2.0.0-dev (latest on master) resolves the issue, but also results in an additional issue where switching focus from one input to another causes the virtual keyboard to disappear. This is related to the version of chromium that the electron dependency is using under the hood.

rmessenger avatar Jun 02 '20 01:06 rmessenger