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

Windows: Click event fired when clicking a tableView with touchEnabled set to false

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Story Points:
      5
    • Sprint:
      2017 Sprint 03 SDK

      Description

      Description

      When tapping a tableviewrow and the tableView has touchEnabled set to false then a click event will still be fired

      var _window = Ti.UI.createWindow();
        var tableData = [{
              title: 'one'
          }, {
              title: 'two'
          }, {
              title: 'three'
          }];
       
          var tableView = Ti.UI.createTableView({
              data: tableData,
              touchEnabled: false
          });
          tableView.addEventListener('click', function(e) {
              alert("Event fired");
          });
       
          _window.add(tableView);
      _windows.open();
      

      Steps to reproduce
      1. Add the above code to an existing app.js and build for Windows Platform
      2. Tap a row
      Actual result

      Click event fired

      Expected result

      Click event should not be fired

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                eharris Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration