h5页面有个固定的顶部,当输入框输入焦点的时候,软键盘出来,原本的底部被顶起来了,显示在手机键盘的上面,有没有简单设置样式可以解决的方法。
ringa_lee
Change to relative or not position when getting focus
Don’t use absolute positioning. There will be problems with lower versions. Another thing is to pay attention to your html structure and don’t wrap the positioning
Hide the fiexd element when the commonly used keyboard pops up, and optimize it by disappearing and displaying the keyboard
The status bar at the bottom is positioned with fixed
Try not to use positioning as it is easy to cause problems. Just write according to the top-down structure. The input method pop-up will not affect it
Change to relative or not position when getting focus
Don’t use absolute positioning. There will be problems with lower versions. Another thing is to pay attention to your html structure and don’t wrap the positioning
Hide the fiexd element when the commonly used keyboard pops up, and optimize it by disappearing and displaying the keyboard
The status bar at the bottom is positioned with fixed
Try not to use positioning as it is easy to cause problems. Just write according to the top-down structure. The input method pop-up will not affect it