Skip to content

ttskp/cordova-plugin-wkwebview-inputfocusfix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-wkwebview-inputfocusfix

Cordova plugin for fixing auto focus issue of html elements on WKWebView.

Currently WKWebView doesn't focus on elements on js .focus() calls. This plugin is extension of CDVWKWebViewEngine class which does ugly swizzling for the focus. Original idea is on: https://github.com/Telerik-Verified-Plugins/WKWebView/commit/04e8296adeb61f289f9c698045c19b62d080c7e3#L609-L620

Installation

Install the plugin by running:

cordova plugin add cordova-plugin-wkwebview-inputfocusfix

Lifetime

The plugin should be out of use once apache/cordova-plugin-wkwebview-engine#37 and ionic-team/cordova-plugin-wkwebview-engine#171 is merged. Please watch main WKWebView repositories for the merge.

About

Cordova plugin for fixing auto focus issue of html elements on WKWebView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%