Safari on the iPhone & iPad gives colour feedback on touch, I want to stop this.

Posted by Owen on Stack Overflow See other posts from Stack Overflow or by Owen
Published on 2010-05-28T22:02:38Z Indexed on 2010/05/28 22:52 UTC
Read the original article Hit count: 181

Filed under:
|
|

Clicking on an element which has a Javascript handler makes the element go have a 'grey overlay'. This is normally fine but I'm using event delegation to handle the touchdown events of many child elements. Because of the delegation the 'grey overlay' is appearing over the parent element and looks bad and confusing.

I could attach event handlers to the individual elements to avoid the problem but this would be computationally very wasteful. I'd rather have some webkit css property that I can override to turn it off. I already have visual feedback in my app so the 'grey overlay' is not needed.

Any ideas?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad