Closed jpike88 closed 5 years ago
No, I'm talking about this, please reopen:
This can only be set in config.xml, should be available to tweak programatically.
<preference name="KeyboardResize" value="true" />
If KeyboardResize is set to false on init, that set the resize mode to none, if set to true then it can be one of the other 3 resize modes. With the function to change the mode programmatically you can set the resize mode to any of the 4 resize modes, ionic, body, native or none, so setting to ionic, body or native are like setting KeyboardResize to true and none to false.
Having KeyboardResize and KeyboardResizeMode as options in config.xml is confusing, they seem to affect the same option. You should get rid of KeyboardResize, and just have one option.
https://github.com/ionic-team/cordova-plugin-ionic-keyboard#keyboardsetresizemode-for-ios-only