Giter Site home page Giter Site logo

findmate / cordova-plugin-wkwebview-inputfocusfix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adaptabi/cordova-plugin-wkwebview-inputfocusfix

0.0 1.0 0.0 16 KB

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

License: MIT License

Objective-C 100.00%

cordova-plugin-wkwebview-inputfocusfix's Introduction

This plugin used to be deprecated, but we need to reinstate it since iOS 13 broke the autoFocus selector again. This means that the previously integrated changes in the official plugins (e.g. cordova-plugin-wkwebview-engine version 1.2.1) no longer work on iOS 13 so the same focus bug has regressed. Apply this plugin temporarily until the issue is fixed in the main repositories.

Usage

Add this to your package.json:

{
  "dependencies": {
    "cordova-plugin-wkwebview-inputfocusfix": "git+https://github.com/adaptabi/cordova-plugin-wkwebview-inputfocusfix"
  },
  "cordova": {
    "plugins": {
      "cordova-plugin-wkwebview-inputfocusfix": {}
    },
  }
}

Then just clean your platforms/ios directory and rebuild.

Once the main wkwebview fixes this issue for iOS 13 as well (see links below), you can stop using this plugin.

THIS PLUGIN IS DEPRECATED!

This plugin was introduced as a temporary fix for the input focusing issue raised on main WKWebView repositories of Apache and Ionic. As the changes are merged to the main repositories - apache/cordova-plugin-wkwebview-engine#37 and ionic-team/cordova-plugin-wkwebview-engine#171, the plugin is deprecated and has no effect on fixing any focus issues anymore.

If you're facing issues with the input focusing, simply upgrade your wkwebview cordova plugin to it's latest version. And if your issue still exists after the upgrade, open an issue on the main wkwebview cordova repo: https://github.com/apache/cordova-plugin-wkwebview-engine/issues.

cordova-plugin-wkwebview-inputfocusfix's People

Contributors

amatakasap avatar hirbod avatar onderceylan avatar paulgoldsmith avatar steodor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.