Search code examples
htmlcsscordovaapache-cordova

Apache Cordova: Div gets blueish on Mouse Down


I'm writing a little application with Apache-Cordova. I have two divs lookings like this (and the little yellow one):

enter image description here

As far everything is fine, but when I start adding click/mouse Eventhandlers to my green divs, they get blueish marked as far as I touch them (and the click doesn't trigger, when I am holding them too long).

<p id="GreenDiv" onclick="GreenDiv_OnClick()">

enter image description here

I've tried these in CSS so far, but this won't 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 anybody know how to turn that marking off?


Solution

  • The answer is this part of css I've found after much more googling:

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);