【问题标题】:No response on clicking IONIC select box on Android在 Android 上点击 IONIC 选择框没有响应
【发布时间】:2016-10-11 04:35:45
【问题描述】:

在 Ionic SELECT 上单击 Select Box 时,尽管存在选项值,但它在界面上不返回任何内容。

我翻阅了一下,发现这是 IONIC 上的一个错误,当 IONIC 自动移除 300 毫秒延迟以使 Ionic 应用程序感觉更“原生”时。

这只发生在 Android 操作系统上。

关于此问题发布了另一个问题。

How can I get Ionic select box working on Android again?

显示点击后,显示选项列表无反应。

<div class="list">
     <label class="item item-input">
      <span class="input-label">Username</span>  

      <div class="input-label ng-binding"> TESXX</div>
        <span class="help-block"></span>
    </label>


     <label class="item item-input">
      <span class="input-label">Balance</span>  

      <div class="input-label ng-binding">   1,200,100 </div>
        <span class="help-block"></span>
    </label>    
     <label class="item item-input">
      <span class="input-label">Direction</span>  
     <select ng-model="formData6.dir" name="dir" class="ng-pristine ng-valid ng-touched">
  <option ng-selected="1" value="0" selected="selected">From</option>
  <option value="1">To</option>
     </select>          
    </label>
   </div>

【问题讨论】:

标签: android angularjs ionic-framework


【解决方案1】:

任何仍在使用 Ionic 1 的人,解决方案是允许浏览器在点击选择时默认行为(在 Ionic 1.2.4 中,这在第 3060 行找到)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多