javascript - When input gets focus, how can the input box pop up and float with the keyboard?
天蓬老师
天蓬老师 2017-06-12 09:32:17
0
3
740


It can float up in Android (no problem), but it will move down a little after floating up in IOS, causing the keyboard to block the input box

Default layout

Layout in IOS

May I ask how to solve this problem? ?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
曾经蜡笔没有小新

We define an attribute for the webview to prevent it from going up after being clicked, and then animate the height of the webview to change.

迷茫

Search on Baidu for "Apple position: fixed compatible"

Ty80

You can try this method
http://www.cnblogs.com/cococe...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template