Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23810

iOS: Delay in firing click event listener on View when using run-on-main-thread


    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0, Release 5.3.1
    • Fix Version/s: Release 6.1.0
    • Component/s: iOS
    • Environment:
    • Sprint:
      2017 Sprint 01 SDK


      Problem Description:

      Customer is having an application with multiple views on the top of the screen and a Scrollable view in the bottom with that many views in it.The issue that they are facing here is with receiving 'click' event when the view in the top is clicked and receiving 'scroll' event when the scrollable view is scrolled. Sometimes there is lot of delay in receiving these events and hence effecting the application's responsiveness.

      Steps to re-produce:

      Due to complexity of the app neither we nor customer could reproduce the issue at smaller scale.Attaching app provided from customer which would show the skeleton of the app but do not reproduce the issue.

      Expected Behavior:

      Application should response fast enough when clicking on view on top of the screen or while scrolling the pages.

      Fault Isolation:

      As the ListViews in application has different elements like Label, TextField, Switch.
      Removing the ListViews in the Scrollable View and just keep empty views with a Label in it, the screen is responsive.Does ListViews cause memory issues in the screen if they are heavy with different kinds of elements?

      Attaching the skeleton app which customer share with us which will help to understand how different components are used within the app.


        1. appc.rtf
          65 kB
        2. Bug.zip
          9.99 MB
        3. KeyTest.zip
          9.99 MB
        4. Simulator_Screen_Shot_Aug_12_2016_11.10.53_AM.png
          147 kB

          Issue Links



              • Assignee:
                vijaysingh Vijay Singh
                nmishra Neeraj Mishra
                Hans Knöchel
                Abir Mukherjee
              • Watchers:
                2 Start watching this issue


                • Created:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    Sync status:
                    Last received:
                    Last sent:

                    Git Integration