cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

KeyboardShrinksView not working with iPhone X and iPhone XS full screen

Open arctic-ice-cool opened this issue 6 years ago • 5 comments

As part of making Phonegap apps work full screen on iPhone X and XS, you need the splash screen plugin with specific splash screens configured to make the app load in true full screen.

As part of this, you need the viewport meta tag to include this: viewport-fit=cover

This then stops the KeyboardShrinksView setting in config.xml (and the JS function too) from working.

Removing this: viewport-fit=cover from the HTML meta tag fixes the issue, however then you don't get the full screen on iPhone X and XS, and instead you get white bars on the top and bottom.

arctic-ice-cool avatar Dec 18 '18 14:12 arctic-ice-cool

I can confirm this issue.

levibn123 avatar Feb 13 '19 18:02 levibn123

Woo we’ve doubled the traction on this now 🤪

arctic-ice-cool avatar Feb 13 '19 20:02 arctic-ice-cool

Have the same issue, can't seem to find a workaround.

JohanPLaubscher avatar Mar 12 '19 07:03 JohanPLaubscher

This will require plugin development I believe to parse the meta viewport data differently

arctic-ice-cool avatar Mar 12 '19 14:03 arctic-ice-cool

PR #85 sorted the issue for me, you can check to see if it solves your side too?

JohanPLaubscher avatar Mar 12 '19 14:03 JohanPLaubscher