I am currently developing an application using Apache-Cordova. I have two divs that look like this (and the small yellow one):
https://i.sstatic.net/o8v6I.png
Everything is working fine so far, but when I add click/mouse event handlers to my green divs, they turn blueish when touched (and the click doesn't trigger if held for too long).
<p id="GreenDiv" onclick="GreenDiv_OnClick()">
https://i.sstatic.net/ArEbz.png
I have tried CSS solutions like these, but none of them work:
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
Does anyone know how to disable that highlighting effect?