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

Blackberry: click event should not fire after finger move

    Details

      Description

      The click event needs to fire when a view detects a click only. Right now it fires on "finger up", even if the finger moved. In this case only the "touchmove" event should fire.

      Test Case

      var 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();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joshroesslein Josh Roesslein
                Reporter:
                penrique Pedro Enrique (Inactive)
                Reviewer:
                Josh Roesslein
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration