javascript - Ionic iOS8 form field focus causes page to scroll incorrectly -


pls see video example (sorry dark box overlay). video taken iphone emulator (via browserstack)

when click form field, , field lower center of screen, whole page jumps , scrolls down - not far enough though - cannot see form field behind keyboard. additionally page zooming in (again form field dissapear behind keyboard) - , not zooming out. time being have disabled zooming or scaling in meta viewport tag

i have seen other posts recommend keyboard plugin cordova. not using cordova. happens in ios 8 , windows, not andriod

this view directly in safari, finished product in application wrapper

is there anyway fix when not using cordova?

https://www.youtube.com/watch?v=kxhwcewi76i

this known issue, can see details in below links:

workaround use keyboard plugin, , disable scroll using method cordova.plugins.keyboard.disablescroll(true); disable native scrolling.

details of plugin can found here.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -