Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10796] iOS: Tabgroup.activeTab returns index but not the tab object after setting active tab using setActiveTab

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-07-19T10:54:37.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 2.1.3, Release 3.0.0, Sprint 2012-19 API, 2012 Sprint 19
ComponentsiOS
Labelsapi, module_tabgroup, qe-testadded, regression
ReporterAnirudh Nagesh
AssigneeVishal Duggal
Created2012-09-06T10:38:30.000+0000
Updated2013-07-19T10:54:37.000+0000

Description

Run the attached app.js In the console, it can be observed that tabGroup.activeTab returns tab object initially. Click the button on tab1. Now, tabGroup.activeTab returns the index which is 0 Note: It works fine on Android ( returns tab object) and works fine on Ti SDK versions < 2.0.2GA. May be its a regression.

Attachments

FileDateSize
app (2).js2012-09-06T10:38:30.000+0000746

Comments

  1. Vishal Duggal 2012-09-12

    Pull pending https://github.com/appcelerator/titanium_mobile/pull/2929
  2. Sabil Rahim 2012-09-25

    2_1_X PR https://github.com/appcelerator/titanium_mobile/pull/3050
  3. Satyam Sekhri 2012-09-26

    Tab object returned after setting active tab Verified on: Titanium Studio: 2.1.2.201208301612 Titanium SDK: 2.1.3.v20120925173111, 3.0.0.v20120918181333 Xcode: 4.5 Device: iPad2 (v5.1), iOS Simulator (v6.0)
  4. Anshu Mittal 2013-07-19

    Reopening to update labels
  5. Anshu Mittal 2013-07-19

    Tested with: SDK:3.1.2.v20130718094558 Appcelerator Studio: 3.1.2.201307121651 OS: OSX 10.7.5 Device:iPhone5(ios6), iOS simulator Xcode: 4.6

JSON Source