Html iPhone 7上的Phonegap输入控制应用程序崩溃
我创建了一个简单的hello world类型的Phonegap应用程序,带有一个textarea。文本区域是14行40列。以下是index.html页面的标记:Html iPhone 7上的Phonegap输入控制应用程序崩溃,html,ios,iphone,phonegap,Html,Ios,Iphone,Phonegap,我创建了一个简单的hello world类型的Phonegap应用程序,带有一个textarea。文本区域是14行40列。以下是index.html页面的标记: <body> <div class="app"> <textarea rows="14" cols="40"> This is some generic test inside the textarea. </textarea> <d
<body>
<div class="app">
<textarea rows="14" cols="40">
This is some generic test inside the textarea.
</textarea>
<div id="deviceready" class="blink">
<p class="event listening">Connecting to Device</p>
<p class="event received">Device is Ready</p>
</div>
</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
</script>
</body>
这是文本区域内的一些通用测试。
连接到设备
设备已准备就绪
app.initialize();
在iPhone7上运行时,在文本区域的空白处进行“向下抑制”,Phonegap应用程序将崩溃。100%的时间
输入控件不必是textarea。我在使用文本框时也经历过同样的事情
这种行为发生在我测试过的3台iphone 7上。Iphone 5、Iphone 5SE、Iphone 6、Iphone 6S或Ipad Mini上不会出现这种情况
其他人有过这种经历吗?在iphone 7上禁用“3D Touch”可以解决此问题。在iphone 7上禁用“3D Touch”可以解决此问题