Giter VIP home page Giter VIP logo

cordova-plugin-wkkeyboardfix's Introduction

cordova-plugin-WKKeyboardFix

This plugin provides a temporary fix for an iOS 12 and 13 bug involving keyboards in WKWebView causing scrolling that is not reset when the keyboard is dismissed.

As of iOS 13.4, this bug has been fixed.

Note: This plugin is a hack around a bug in iOS. It might result in your app being rejected from the App Store! Use this at your own risk.

Installation

cordova plugin add cordova-plugin-wkkeyboardfix

Supported Platforms

  • iOS (cordova-ios >= 4.5.0)

Contributing

Contributions of bug reports, feature requests, and pull requests are greatly appreciated!

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Licence

Released under the Apache 2.0 Licence. Copyright © 2019 Ayogo Health Inc.

cordova-plugin-wkkeyboardfix's People

Contributors

dpogue avatar isuda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-wkkeyboardfix's Issues

constant(safe-area-inset-top), env(safe-area-inset-top) keeps viewport displaced in some edge cases

Hey Great Plugin!

Forgive me if I just throw the issue in this form but it might help the one or the other:

These CSS rules keep the viewport minimally displaced when an input field is slightly below the center (of the non-keyboard area). Haven't investigated further!

body {
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
}

I removed them from my app and everything works fine!

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.