I am creating a mobile web application and I have a problem with Windows Phone 7 that I do not have on Android or iOS. The application works pretty well in Mobile IE, but since I use jQuery's (relatively) new .on () method, I get weird highlight highlighting effects that make using the application annoying.
Example. I have a list of messages, for example, on Twitter or a mail client (in the style of Android / iOS), and my JS code looks like this:
$('#conversation_list').on('click', '.conversation', function () {
});
What happens is that the entire top-level selector (in this case, #conversation_list) is highlighted (and usually remains highlighted for uncomfortable seconds or two). I think this may confuse some users, because there is no feeling that you are clicking on the element you want, even if you can be.
Is there a way to avoid this or just turn off paint highlighting in WinPhone IE? I use -webkit-tap-highlight-color successfully in iOS and Android browsers, but it doesn't seem to work here.
Frank source
share