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

iOS: Table view row selected background doesn't fade out when backgroundGradient is set

    Details

      Description

      Expected behavior
      On touch end the selected background should fade out.

      Actual behavior
      On touch end the selected background disappears instantly and there is a delay period when the title text remains in selected state.

      Note
      Remove the backgroundGradient property and see that the selected background fades out as expected on touch end.

      Code

      var win = Ti.UI.createWindow();
       
      var tableview = Titanium.UI.createTableView({
      	data : [{
      		title : 'Row',
      		backgroundGradient : {
      			type : "linear",
      			startPoint : {
      				x : "0%",
      				y : "0%"
      			},
      			endPoint : {
      				x : "0%",
      				y : "100%"
      			},
      			colors : [{
      				color : "#F9F9F9",
      				offset : 0.0
      			}, {
      				color : "#EEE",
      				offset : 1.0
      			}]
      		}
      	}]
      });
       
      win.add(tableview);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                dsefton Daniel Sefton
                Reviewer:
                Sabil Rahim
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code