【问题标题】:On Touch screen when i touch input field it does not show onscreen keyboard在触摸屏上,当我触摸输入字段时,它不显示屏幕键盘
【发布时间】:2019-01-09 07:41:48
【问题描述】:

当我进入输入字段并触摸它时,Google chrome。它不会打开屏幕窗口键盘。

<map name="map_gdpr" class="maps">
    <input type="text" 
           style="position:absolute;top: 179px;
left: 385px;width: 505px;background-color: white;height: 40px;font-size:24px;" 
id="eid_company" name="eid_company" class="input_field" />

    <input type="checkbox" 
           value="on" 
           id="agreement" 
           name="agreement"
           style="position: absolute;
                  top: 318px;
                  left: 283px;
                  width: 38px;
                  background-color: white;
                  height: 58px;"/>


  </map>

当触摸输入字段时,如何确保 Windows 的屏幕键盘处于打开状态?

【问题讨论】:

    标签: javascript jquery html windows on-screen-keyboard


    【解决方案1】:

    这是 Google chrome 中的一个 BUG。 Google chrome 没有合格的程序员来修复它,但 Microsoft Edge 可以。

    谷歌浏览器的临时解决方案如下:

        <input type="checkbox" 
               value="on" 
               id="agreement" 
               name="agreement"
               style="position: absolute;
                      top: 318px;
                      left: 283px;
                      width: 38px;
                      background-color: white;
                      height: 58px;"/>
    <map name="map_gdpr" class="maps">
        <input type="text" 
               style="position:absolute;top: 179px;
    left: 385px;width: 505px;background-color: white;height: 40px;font-size:24px;" 
    id="eid_company" name="eid_company" class="input_field" />
    
    
    
      </map>
    

    【讨论】:

      猜你喜欢
      • 2011-03-14
      • 2011-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-13
      • 1970-01-01
      • 1970-01-01
      • 2016-08-13
      相关资源
      最近更新 更多