{ "id": "132542", "key": "TIMOB-17267", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-07-02T22:46:10.000+0000", "created": "2014-07-02T22:40:30.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-02T22:46:10.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": "REPRODUCTION:\r\nRun the code below in the iPad simulator.\r\n\r\nRESULTS:\r\nClick on the button to show the popover. The popover displays below the button. The arrowDirection property outputted by the console log displays null.\r\n\r\nEXPECTED RESULTS:\r\nThe popover should be displayed to the left or right of the button and the arrowDirection property should not be null.\r\n\r\nTEST CODE:\r\n{noformat}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar contentWindow = Ti.UI.createWindow({\r\n\tbackgroundColor: 'green',\r\n\ttitle: 'Popover'\r\n});\r\ncontentWindow.add(Ti.UI.createLabel({text: \"I'm a popover!\"}));\r\n\r\nvar navWindow = Ti.UI.iOS.createNavigationWindow({window: contentWindow});\r\n\r\nvar popover = Ti.UI.iPad.createPopover({contentView: contentWindow});\r\n\r\nvar button = Ti.UI.createButton({title: 'Open Popover!'});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({\r\n \tview: button,\r\n \tarrowDirection: Titanium.UI.iPad.POPOVER_ARROW_DIRECTION_LEFT | Titanium.UI.iPad.POPOVER_ARROW_DIRECTION_RIGHT,\r\n });\r\n Ti.API.info(popover.arrowDirection);\r\n});\r\n\r\nwin.add(button);\r\n\r\nwin.open();\r\n{noformat}", "attachment": [], "flagged": false, "summary": "Popover: arrowDirection property/parameter is ignored", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X 10.8.5 \r\nTitanium Studio, build: 3.3.0.201406271151 \r\nTi SDK 3.3.0.v20140702094913 \r\niOS 7.1/Xcode 5.1.1", "comment": { "comments": [ { "id": "312160", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test case was wrong.", "updateAuthor": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-07-02T22:46:10.000+0000", "updated": "2014-07-02T22:46:10.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }