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

BlackBerry : Click event is not working on view & scroll view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.1, Release 3.2.0
    • Component/s: BlackBerry
    • Environment:

      Description

      Description:
      1. Create an app got BB suing the code below:

      ar win = Ti.UI.createWindow({
          backgroundColor: 'white'
      });
       
      var scrollView = Ti.UI.createScrollView({
          backgroundColor: 'white',
          layout: 'vertical',
          contentWidth: Ti.UI.FILL,
          contentHeight: Ti.UI.SIZE
      });
       
      for(var i = 0; i < 20; i++) {
          var btn = Ti.UI.createButton({
              top: 10,
              title: 'Hello'
          });
          scrollView.add(btn);
      }
       
      win.add(scrollView);
       
      scrollView.addEventListener('click', function(e){
          Ti.API.info(JSON.stringify(e));
      });
       
      win.open();
      

      2. Build and run the app on BB simulator/device

      Actual Result:
      1. The click event does not work on a scroll view

      Expected Result:
      1. The click event should work on a scroll view

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
              Reviewer:
              Russell McMahon
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration