문제

I am creating a single page non-native iOS application using cordova and angularJS. Whenever the onscreen iPad keyboard appears, the div elements are moved up and squashed together to compensate for the smaller viewing screen size.

How would I go about making all the div elements stay in place when the keyboard pops up, just cutting out the bottom part of the screen which the keyboard takes up, without rearranging all the elements?

Thanks in advance.

도움이 되었습니까?

해결책

You need to add this to your config.xml:

<preference name="KeyboardShrinksView" value="false" />

Take a look at this post It is a similar issue.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top