Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3376] left- and rightNavButton fade in

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-05-24T20:15:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsdefect, iphone, reported-1.6.0
ReporterKevin Whinnery
AssigneeIngo Muschenetz
Created2011-04-15T03:43:30.000+0000
Updated2017-05-24T20:15:20.000+0000

Description

When adding a left or rightNavButton to a window, the button fades into view. The expected behavior would be for the button to become immediately visible when the window/tabGroup opens:


var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({  
    icon:'KS_nav_views.png',
    title:'Tab 1',
    window:win1
});

win1.setRightNavButton(Ti.UI.createButton({
    title:'foobar'
}));

var win2 = Titanium.UI.createWindow({  
    title:'Tab 2',
    backgroundColor:'#fff'
});
var tab2 = Titanium.UI.createTab({  
    icon:'KS_nav_ui.png',
    title:'Tab 2',
    window:win2
});

tabGroup.addTab(tab1);  
tabGroup.addTab(tab2);
tabGroup.open();

Comments

  1. Nikolai Derzhak 2011-04-15

    rollback wrong update
  2. Lee Morris 2017-05-24

    This issue is no longer reproducible with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 Ti SDK 6.1.0.v20170519131839 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.7.0_80

JSON Source