javascript - Want to have browser viewport resize when iOS keyboard is activated -


in ios web browsers (safari, chrome, etc.), when click input field , keyboard displays, keeps viewport same size slides partially out of view. makes creating app-like websites difficult, i'm coding chatting app , when keyboard shows want keep conversation in view, resize conversation area fit in new "resized" viewable area.

i've tried everything, such having conversation area absolutely positioned left: 0; right: 0; top: 0; bottom: 0, still ios keeps viewport same size , pushes , partially out of view.

is possible? or system-level functionality beyond control of css or javascript?


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -