{ "id": "63661", "key": "TIMOB-3029", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-06-01T15:55:46.000+0000", "created": "2011-04-15T03:35:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-06-01T15:55:46.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
I've attached the \"bug\" I'm currently getting when using modal\nwindows on iPad.
\n\n\nvar win = Titanium.UI.createWindow();\nvar redWin = Titanium.UI.createWindow({\n backgroundColor:\"red\",\n title:\"Red Window\"\n});\nvar nav = Titanium.UI.iPhone.createNavigationGroup({\n window: redWin\n});\n\nwin.add(nav);\n\nwin.open({\n modal:true,\n modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET\n});
\n
\nWhen running the above code, I get two nav bars. If I set\nnavBarHidden on the \"win\" object... the modal ignores the\nmodalStyle property. When I set the navBarHidden on the \"redWin\"\nobject.. I don't get \"title\" or the navigation elements on the nav\nbar.
\nIf this is the wrong way to get a navGroup into an iPad modal\nwith modalStyle set, please let me know.