Home
Sign Up
Sign In
V2EX
›
前端开发
前端新手请教移动端 input 输入框 调用手机键盘时 盖住 输入框怎么解决
Forviler
·
Jun 5, 2019
· 4100 views
This topic created in 2733 days ago, the information mentioned may be changed or developed.
今天 做移动端页面时遇到问题 text 类型的输入框 靠近页面底部,点击输入 调出手机输入法 会盖到 输入框 大佬们怎么解决好
输入
页面
Text
input
2 replies
•
2019-06-05 13:58:58 +08:00
JasonHu
Jun 5, 2019
1
点击 input 的把页面往上撑
doco
Jun 5, 2019
2
监控 focus 事件, 调用 scrollIntoView 方法试一下
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
919 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 22:19
·
PVG 06:19
·
LAX 14:19
·
JFK 17:19
♥ Do have faith in what you're doing.
❯