Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19100] iOS: New editActions show in reversed order

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2015-07-03T05:38:51.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sn/a
ComponentsiOS
Labelslistview
ReporterFokke Zandbergen
AssigneeHans Knöchel
Created2015-06-29T14:39:34.000+0000
Updated2017-03-17T18:06:30.000+0000

Description

The following example and attached screenshot show that the new editActions show in the reverse order (LTR). I would expect the first action in the array to show first (from left) and the last last.
var win = Ti.UI.createWindow();
var listSection = Ti.UI.createListSection({
	items: [{
		properties: {
			canEdit: true,
			title: 'Swipe me',
			editActions: [{
				title: 'First'
			}, {
				title: 'Second'
			}, {
				title: 'Third'
			}]
		}
	}]	
});
var listView = Ti.UI.createListView({
	top: 20,
	sections: [listSection]
});
win.add(listView);
win.open();

Attachments

FileDateSize
Screen Shot 2015-06-29 at 16.36.53.png2015-06-29T14:38:49.000+000065345

Comments

  1. Hans Knöchel 2015-07-02

    There is a discussion on that topic. The native behaviour is, that the actions are always populated from right to left (reference: http://timbroder.com/2014/08/uitableviewcell-action-swiping-in-ios8-and-swift.html). So i'm not sure whether we should turn this around. Your thoughts?
  2. Fokke Zandbergen 2015-07-03

    Well, that's odd but if that's how it works native I guess we close this as invalid.
  3. Lee Morris 2017-03-17

    Closing ticket as invalid.

JSON Source