1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default Unanswered: why waiting seven seconds after button touch for touch detection in phonegap

    Unanswered: why waiting seven seconds after button touch for touch detection in phonegap


    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?

    thnx!

  2. #2
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default


    I found out that the problem was a simple CSS entry:

    PHP Code:
    .x-button.x-button-pressed
    .
    x-button.x-button-active
    .
    x-toolbar .x-button.x-button-pressed,
     .
    x-toolbar .x-button.x-button-active {
        -
    webkit-box-shadowinset #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?