我創建一個文件test.html
打開選擇:無法使用Chrome devtools移動模式
<select>
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<style type="text/css">
select {
width: 100%;
font-size: 120px;
}
</style>
而使用DevTools F12(任何裝置顯示模式)被阻塞時選擇。
我也試過chrome://flags/#touch-events
選項從這個SO post。
有什麼我可以做的,使用Chrome在移動模式下打開選擇?
我的Chrome版本是53.0.2785.116 m
。
編輯
我今天鉻更新到53.0.2785.143 m
版本。
而現在的選擇顯示了這種方式:
自升級以來,我遇到同樣的問題。我昨天報告了這個問題,但是同時我會再次降級chrome,我再也無法做到了,我猜想 –
原來你不能降級chrome,因爲它會自動更新,現在使用jquery手動更改值直到它得到修正:( –