cjpearson / cordova-plugin-keyboard

Keyboard Plugin for Cordova
177 stars 347 forks source link

KeyboardShrinksView not working with iPhone 8+ #82

Open ersatishverma opened 5 years ago

ersatishverma commented 5 years ago

Hello,

I have an issue after upgrading to iOS12. When I click on a textarea, and keyboard shows up, it takes the HTML contents of the page "too high" and also shown the black space right above the keyboard and also my status bar disappears.

Using ios Version 12.1.2 PhoneGap Version cli-8.0.0 Plugin Version 1.2.0

Keyboard.shrinkView(true)

c23f21ec-2f58-4da2-9ed3-1767167c06df Please, take a look at this. In the meanwhile, I will try to find my way around on my own and find a fix.

Thanks,

costin-moraru commented 5 years ago

I fixed that with Keyboard.shrinkView(true). When keyboard is showing in scrollViewDidScroll i scroll the "Webview content" to bottom 0.0 point and working on all ios 12.x