android - Android(Chrome中的全屏网站):软键盘未正确关闭,显示空白
问题描述
我制作了一个带有输入区域的全屏 html/php 网站。
以下是 html/php 文件的最小内容:
<!DOCTYPE html>
<html>
<head>
<style>
input{padding:0.4em; font-size:0.6em;}
</style>
</head>
<body style="background-image: url('bkg.jpg'); margin:100px; font-size:3em;">
<?php
print_r($_GET);
?>
<form method='get'>
<input type='text' name='test'>
<input type='submit' value='Send !'>
</form>
</body>
</html>
Json文件内容:
{
"short_name": "test",
"name": "test",
"start_url": "test.php",
"display": "fullscreen",
"orientation": "landscape"
}
在软键盘或输入按钮上单击“提交”时,键盘无法正常关闭,并且在页面重新加载时在屏幕上留出空白(参见图片,n°3)。
我必须触摸屏幕或重新加载网页以掩盖空白(图片 n°4)。
感谢帮助。
解决方案
推荐阅读
- r - 使用 mutate 计算表的 6 列之间的所有绝对差异?
- python - 如何删除或选择特定行?
- azure - 为什么 Azure 应用服务没有在实例之间均匀分配流量?
- python - Django ListView:'this_object_id'未定义
- instagram-api - Instagram API 2020 年弃用和嵌入 API
- angular - 管道捕获错误,导航重定向失败
- python - 使用 BeautifulSoup 解析 JSON 转换为文本的问题
- c++ - 在 C++11 中继承异常?
- flutter - 我如何在颤动中制作计时器
- java - Java 进程解码存储库 getById