Coder Social home page Coder Social logo

When closing keyboard, content doesn't scroll back leaving ehite space in place of keyboard about cordova-plugin-wkwebview-engine HOT 11 CLOSED

apache avatar apache commented on May 21, 2024
When closing keyboard, content doesn't scroll back leaving ehite space in place of keyboard

from cordova-plugin-wkwebview-engine.

Comments (11)

dpogue avatar dpogue commented on May 21, 2024 4

This is resolved in iOS 13.4. For earlier versions of iOS, using the cordova-plugin-wkkeyboardfix is probably the best solution. We will not be making any changes to Cordova to address this bug.

from cordova-plugin-wkwebview-engine.

mwchambers avatar mwchambers commented on May 21, 2024 1

For anyone still experiencing this problem the commit referenced above mwchambers@da67d6b
based on the changes here: https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/201/commits seems to fix the problem.

from cordova-plugin-wkwebview-engine.

Yuripetusko avatar Yuripetusko commented on May 21, 2024

More info here: apache/cordova-ios#417 (comment)

from cordova-plugin-wkwebview-engine.

Yuripetusko avatar Yuripetusko commented on May 21, 2024

For now solved this by downgrading to Xcode 9

from cordova-plugin-wkwebview-engine.

adam-h avatar adam-h commented on May 21, 2024

Works for us @mwchambers, thanks! It may be good to submit this as a PR.

from cordova-plugin-wkwebview-engine.

WuglyakBolgoink avatar WuglyakBolgoink commented on May 21, 2024

fyi: #75

from cordova-plugin-wkwebview-engine.

jacobweber avatar jacobweber commented on May 21, 2024

The fix from @mwchambers worked for me as well. Could something like this be included in a release? I realize this is an Apple bug, but who knows if they'll ever fix it.

from cordova-plugin-wkwebview-engine.

shahdeep1989 avatar shahdeep1989 commented on May 21, 2024

Why It's not fixed yet? Can any one provide me solution for this issue?

from cordova-plugin-wkwebview-engine.

be-ndee avatar be-ndee commented on May 21, 2024

I have the same issue. I use the cordova-plugin-keyboard and can "solve" this issue with the following event listener. So everytime the keyboard will close, the window will scroll back to the correct position.

window.addEventListener('keyboardWillHide', () => window.scrollTo(0, 0));

See apache/cordova-ios#417 (comment)

from cordova-plugin-wkwebview-engine.

c-emil avatar c-emil commented on May 21, 2024

See alternative solution without keyboard plugin: apache/cordova-ios#417 (comment)

from cordova-plugin-wkwebview-engine.

Lindsay-Needs-Sleep avatar Lindsay-Needs-Sleep commented on May 21, 2024

Since Apple should release the fix for this eventually, (WKWebView has already marked the bug as fixed...), you should be able to use cordova-plugin-wkkeyboardfix to fix the bug until Apple finally releases.

See plugin author's original comment:
apache/cordova-ios#417 (comment)

from cordova-plugin-wkwebview-engine.

Related Issues (20)

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.