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

iOS: Swipe event not fired when TableView has property editable set to true

    Details

      Description

      Problem description

      When a TableView is editable, the swipe event is not fired; instead, swiping on the table row just lets you edit it.

      Steps to reproduce

      Use the following code to test the issue. Changing 'editable' to 'false' fires the event.

      var win1 = Ti.UI.createWindow({
          backgroundColor: "#FFF",
          layout: "vertical",
          fullscreen: true
      });
       
      var rows = [];
       
      for (var i=0; i<10; i++) {
      	var row = Ti.UI.createTableViewRow({
      		title: "Row " + i
      	});
       
      	rows.push(row);
      }
       
      var table = Ti.UI.createTableView({
      	editable: true,
      	data: rows
      });
       
      table.addEventListener('swipe', function(e) {
      	alert(e);
      });
       
      win1.add(table);
       
      win1.open();
      

        Attachments

          Activity

            People

            • Assignee:
              blainhamon Blain Hamon
              Reporter:
              dcassenti Davide Cassenti
              Reviewer:
              Arthur Evans
            • Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code