Cursor not functioning correctly in IE11 select inputs

谁说我不能喝 提交于 2019-12-07 11:38:44

问题


Please see fiddle: http://jsfiddle.net/ajjp/b7M2H/

<div>
    <select>
       <option> Option 1 </option>
       <option> Option 2 </option>
       <option> Option 3 </option>
       <option> Option 4 </option>
       <option> Option 5 </option>
       <option> Option 6 </option>
       <option> Option 7 </option>
   </select>
</div>
<div>
   <input>
   </input>
</div>

In Internet Explorer 11 the cursor property changes when hovering over a select option that is over the input beneath. Hoping there is a simple CSS solution.


回答1:


It's an IE bug that seems to persist in every version - z-index and absolute positioning will not work.

Since it doesn't cripple functionality I say let it be, however if you insist on fixing it your best bet is to use a JQuery dropdown alternative such as this one.



来源:https://stackoverflow.com/questions/23884256/cursor-not-functioning-correctly-in-ie11-select-inputs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!