select手機端無法打開,PC可以打開的解決方法

form表單的select下拉框在手機端無法打開(但PC可以打開)的解決方法
在上層的div或section添加
data-tap-disabled=“true”
eg:

<section class="one-infor" data-tap-disabled="true">
         <h5>報名類型</h5>
         <select id="type" name="type">
                        <option>申請</option>
                        <option>會議</option>
                        <option>差旅</option>
                        <option>學習</option>
         </select>
 </section>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章