[TIMOB-3321] iOS: Tab touchEnabled not recognized
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-01-09T18:51:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | defect, ios, ipad, rplist, tab, touch |
Reporter | Alan Leard |
Assignee | Eric Merriman |
Created | 2011-04-15T03:42:08.000+0000 |
Updated | 2020-01-09T18:51:48.000+0000 |
Description
Problem
In an effort to adjust spacing between tabs (specifically on an iPad) users would like to put in blank tabs with no touch events. In the documentation we have a touchEnabled: false property that does not work.
Test Code
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
});
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,
width:200
});
var tab3 = Titanium.UI.createTab({
touchEnabled:false
});
var tab4 = Titanium.UI.createTab({
touchEnabled:false
});
tabGroup.addTab(tab1);
tabGroup.addTab(tab3);
tabGroup.addTab(tab4);
tabGroup.addTab(tab2);
tabGroup.open();
Ticket Reference http://developer.appcelerator.com/helpdesk/view/76410">http://developer.appcelerator.com/helpdesk/view/76410
We have a need to block tab switching while content is being loaded. I can confirm that setting the related TabGroup's touchEnabled property to false on Android does nothing either. Users can still switch tabs.
It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.