apache / apache/cordova-plugin-inappbrowser

keyboardDisplayRequiresUserAction doesn't close keyboard

Open
#523 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Problem
Using inappbrowser on Ionic iOS devices, with keyboardDisplayRequiresUserAction set to 'yes', the keyboard opens when I select an input, but does not close when I click out of input.

### What is expected to happen?
I would expect that the iOS keyboard should close after input.blur()

### What does actually happen?
The iOS keyboard stays open while click on other parts of the page (Unless I click an action item such as a button or select box). But, typically I can

## Information

### Command or Code

### Environment, Platform, Device
iOS 11 - Ionic

### Version information

cordova-plugin-device 2.0.2 "Device"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 3.1.2 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

Ionic:

Ionic CLI : 5.2.2 (C:\Users\Brian\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 7.1.4, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 5 other plugins)

Utility:

cordova-res : 0.6.0
native-run : 0.2.8

System:

NodeJS : v10.15.2 (C:\Program Files\nodejs\node.exe)
npm : 6.9.2
OS : Windows 10

## 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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on an iOS device with InAppBrowser and keyboardDisplayRequiresUserAction set to 'yes'. Check the path triggered by input.blur() when tapping non-action areas, and consider the issue done when the keyboard reliably closes after blur while existing action-item behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.