View Full Version : why waiting seven seconds after button touch for touch detection in phonegap

19 Aug 2011, 2:26 AM
hi there!

why do I have to wait seven seconds after I touched a button inside my sencha-touch/phonegap app on iOS for the touch detection to trigger my panel-slide or even make the button change to .x-button-pressed?


19 Aug 2011, 6:59 AM
I found out that the problem was a simple CSS entry:

.x-toolbar .x-button.x-button-pressed,
.x-toolbar .x-button.x-button-active {
-webkit-box-shadow: inset #AAA1A1 0 0 39em, rgba(255, 255, 255, 0.1) 0 0.1em 0;

but how could INSET (or the 39em?) kill the performance like that?