{ "id": "61713", "key": "TIMOB-1081", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-22T22:13:43.000+0000", "created": "2011-04-15T02:43:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-22T22:13:43.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'm opening a modal window via\r\nTi.UI.iPhone.MODAL_TRANSITION_STYLE_PARTIAL_CURL. Really cool\r\neffect but when the user clicks on the curled up window, the modal\r\nwindow closes without firing anything. Is there a way to display\r\nthis click or atleast fire \"close\" or \"blur\" when the user clicks\r\nout? It's really frustrating because i would like the user to not\r\nable to exit out without going thru the selection on the\r\nscreen.

{html}", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_PARTIAL_CURL not triggering close on exit.", "creator": { "name": "sj101", "key": "sj101", "displayName": "Sj101", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sj101", "key": "sj101", "displayName": "Sj101", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124810", "author": { "name": "sj101", "key": "sj101", "displayName": "Sj101", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

By clicking out, I meant clicking on the old window that is\ncurled up.

{html}", "updateAuthor": { "name": "sj101", "key": "sj101", "displayName": "Sj101", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:43:31.000+0000", "updated": "2011-04-15T02:43:31.000+0000" }, { "id": "124811", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

we should be getting both blur and close in this case. marking\nas bug

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:43:31.000+0000", "updated": "2011-04-15T02:43:31.000+0000" }, { "id": "209367", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nwin.backgroundColor = 'black';\r\n\r\n\r\nvar picker = Ti.UI.createPicker();\r\n\r\nvar column1 = Ti.UI.createPickerColumn();\r\ncolumn1.addRow(Ti.UI.createPickerRow({title:'Cover Vertical',style:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_COVER_VERTICAL,fontSize:12}));\r\ncolumn1.addRow(Ti.UI.createPickerRow({title:'Flip Horizontal',style:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL,fontSize:12}));\r\ncolumn1.addRow(Ti.UI.createPickerRow({title:'Cross Dissolve',style:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_CROSS_DISSOLVE,fontSize:12}));\r\ncolumn1.addRow(Ti.UI.createPickerRow({title:'Partial Curl',style:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_PARTIAL_CURL,fontSize:12}));\r\n\r\nvar column2 = Ti.UI.createPickerColumn();\r\ncolumn2.addRow(Ti.UI.createPickerRow({title:'Fullscreen',presentation:Ti.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN,fontSize:12}));\r\ncolumn2.addRow(Ti.UI.createPickerRow({title:'Page Sheet',presentation:Ti.UI.iPhone.MODAL_PRESENTATION_PAGESHEET,fontSize:12}));\r\ncolumn2.addRow(Ti.UI.createPickerRow({title:'Form Sheet',presentation:Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET,fontSize:12}));\r\ncolumn2.addRow(Ti.UI.createPickerRow({title:'Current Ctx',presentation:Ti.UI.iPhone.MODAL_PRESENTATION_CURRENT_CONTEXT,fontSize:12}));\r\n\r\npicker.add([column1,column2]);\r\n\r\n// turn on the selection indicator (off by default)\r\npicker.selectionIndicator = true;\r\n\r\nwin.add(picker);\r\n\r\nvar button = Ti.UI.createButton({\r\n\twidth:130,\r\n\ttop:20,\r\n\ttitle:'Show Modal',\r\n\theight:30\r\n});\r\n\r\nwin.add(button);\r\n\r\nbutton.addEventListener('click',function()\r\n{\r\n\tvar style = picker.getSelectedRow(0).style;\r\n\tvar presentation = picker.getSelectedRow(1).presentation;\r\n\tvar w = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'purple'\r\n\t});\r\n\tvar b = Ti.UI.createButton({\r\n\t\ttitle:'Close',\r\n\t\twidth:100,\r\n\t\theight:30\r\n\t});\r\n\tb.addEventListener('click',function()\r\n\t{\r\n\t\tw.close();\r\n\t});\r\n\tw.add(b);\r\n\tw.open({modal:true,modalTransitionStyle:style,modalStyle:presentation,navBarHidden:true});\r\n\tw.addEventListener('close', function(e) {\r\n\t\tTi.API.info('Got close event');\r\n\t});\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-25T12:35:20.000+0000", "updated": "2012-07-25T12:35:20.000+0000" }, { "id": "214208", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on the iOS simulator using TiSDK 2.2.0v20120810194112, issue still exists.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-13T16:07:52.000+0000", "updated": "2012-08-13T16:08:07.000+0000" }, { "id": "422585", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-22T22:13:43.000+0000", "updated": "2017-06-22T22:13:43.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }