Stop keyboard from switching app and enable scrolling in IOS 7/8

We have an application that is fixed width and height and does not allow user scrolling. As part of this application, we have a navigation bar that is docked to the screen in the status area. This all works great.

The problem is that when the keyboard is displayed, it pushes the application window up to make room for the keyboard. At this point it can be scrolled by our application and the title, which should be fixed at the top, is no longer displayed on the screen.

Ideally, the keyboard will still be displayed, but our application window will change so that it is not so tall, but the elements pinned to the top are still anchored to the top. also you won't be able to scroll the window at this point.

+3


source to share


1 answer


Since Sani mentions in the comment, the Iconic plugin actually does what I'm looking for:

https://github.com/driftyco/ionic-plugins-keyboard



through:

cordova.plugins.Keyboard.disableScroll(true);

cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);

+4


source







All Articles