Blue highlight in drop-down list when selecting any value in Windows 8 phone

Work with the phone window 8 in Phonegap. When I touch the drop-down list, a blue highlight will appear. I already asked the question asked here.

Windows 8 phone highlights colors in input fields

tried to answer

$('select').on('click', function() { $('input.fakeInput').focus().blur() })

he partially solved the problem (only for the click event). But my page has a scroll, so when I try to scroll, a blue highlight appears. I tried "MSPointerDown, MSPointerUp, MSPointerMove" in the above code, but nothing happened.

enter image description here

Here are the styles that I used

{
width: 100%;
background: #fafafa;
color:#a3a3a3;
font-size:14px;
border:none;
outline:none;
display: inline-block;
appearance:none;
height:60%;
min-height: 30px !important;
border-radius:5px;
margin-top: 5%;
padding-left:8%;

}

+4
source share
1 answer

IE -,

select::-ms-value{ background-color: #fafafa; color: #a3a3a3; }

link http://msdn.microsoft.com/en-us/library/windows/apps/hh465820.aspx

+5

Source: https://habr.com/ru/post/1533467/


All Articles