Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    21
    Vote Rating
    1
    mavorus is on a distinguished road

      0  

    Default Unanswered: Basic 2-page tab-bar... why is there input lag?

    Hello all.

    I created a simple two-page tab-bar based little app by following the getting started guide.. from what I am reading, all of the data is loaded in immediately (for both tabs).

    However.. there is about a ~800ms lag time between touching a button, and it actually performing the touch.

    What is this lag and how can I avoid it?

    Since I loaded the entire UI + data at the beginning, shouldn't there be ~0ms of lag between when I push/click a tab-bar button, and the tab-switch animation starting?

    Are there some deeper options I need to dive into? Something related to running the app offline?

    Please help

  2. #2
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
    Answers
    5
    olouvignes is on a distinguished road

      0  

    Default

    AFAIK, This lag comes from ST2 using "clicked" event instead of a faster/native "touchdown" event.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    21
    Vote Rating
    1
    mavorus is on a distinguished road

      0  

    Default

    Is there any way to change the events used or is this something out of our control? I can understand some circumstances where click would be good, but in this case, I really want immediate speed..

  4. #4
    Sencha User
    Join Date
    Oct 2014
    Posts
    51
    Vote Rating
    3
    Answers
    1
    The_Unknown is on a distinguished road

      0  

    Default

    I just wanted to ask the same question. Is there any way to remove this input lag? For the normal web there's a library called "fastclick". I'll give it a try tomorrow, but the question persists:

    Is there any way to reduce this input lag in sencha? It reduces the user experience by a huge amount compared to native apps.

Thread Participants: 2