0

我有一个表单,我正在创建一个 tizen 应用程序。当键盘出现时,两个字段被键盘覆盖。我需要在键盘弹出时使整个分区可滚动。我尝试使用溢出,但它不起作用。

<body>
<div id="headerdiv">
    ADD YOUR VEHICLE


enter code here
</div>
<div id=form>
textarea class="manufacturer" cols="40"  rows="1"  placeholder="Manufacturer*"></textarea>
<textarea class="model" cols="40"  rows="1"  placeholder="Model*"></textarea>
 <span id=date_purch>Date of Purchase</span>
<p>
<input class="inputDate" id="inputDate" value="10/28/2015" readonly/>

  <span id=reg_numb>Registration Number</span>
<textarea class="number" cols="40"  rows="1"  placeholder="AA 00 AA 0000* ">   </textarea>
<span id=front_pres>Tyre Pressure:Front</span>
<textarea class="front" cols="40"  rows="1"  placeholder="32 PSI*"></textarea>
<span id=rear_pres>Tyre Pressure:Rear</span>
<textarea class="rear" cols="40"  rows="1"  placeholder="32 PSI*"></textarea> 
</div>

<button id="add" onclick="add()">Add</button>
<div id="cancel" onclick="back()">Cancel</div>

</body>

截屏

键盘隐藏了轮胎压力字段。

4

1 回答 1

0

您可能需要查看以下链接。 https://developer.tizen.org/development/guides/web-application/tizen-features/ime-application

特别是 setKeyboardSizes(portraitWidth, PortraitHeight, LandscapeWidth, LandscapeHeight)

让您设置键盘的尺寸。

于 2015-10-28T08:32:58.980 回答