Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19098] iOS: ListView editActions should hide after selecting an action

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-07-06T03:12:37.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsiOS
Labelslistview
ReporterFokke Zandbergen
AssigneeHans Knöchel
Created2015-06-29T14:16:58.000+0000
Updated2015-09-02T00:06:04.000+0000

Description

The attached screen recording shows that after selecting a custom action, the actions don't hide. I have to swipe the row to the right to hide the actions. I'd expect the actions to hide after selecting one.

Attachments

FileDateSize
noclose.mov2015-06-29T14:13:19.000+00001346468

Comments

  1. Hans Knöchel 2015-07-03

    PR: https://github.com/appcelerator/titanium_mobile/pull/6955
  2. Chee Kiat Ng 2015-07-06

    [~hansknoechel] Whenever possible, attach or paste sample code.
       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();
       
  3. Chee Kiat Ng 2015-07-06

    CR and FT passed. PR merged.
  4. Wilson Luu 2015-09-02

    Closing ticket as fixed. Verified that if you select an editAction, the actions are hidden afterwards. Tested on: Appc CLI NPM: 4.2.0-1 Appc CLI Core: 5.0.0-33 Arrow: 1.2.52 SDK: 5.0.0.v20150901105514 Node: v0.10.38 OS: Yosemite (10.10.5) Xcode: 7 beta 6 Devices: iphone 6 (8.4.1), iphone 6 simulator (9.0)

JSON Source