在Android浏览器中具有自动对焦属性的输入

问题描述 投票:0回答:1

使用时

<input type='text' autofocus>

用户可以在将页面加载到计算机浏览器后直接开始输入内容,而无需其他任何点击。

在Chrome Android上,input确实受到了负载的关注,但是没有打开键盘,所以autofocus的所有点都丢失了。

如何使其在Android上正常工作?

android html responsive html-input autofocus
1个回答
0
投票
<input type='text' onload='this.click();' autofocus >
© www.soinside.com 2019 - 2024. All rights reserved.