{ "id": "172237", "key": "TIMOB-26396", "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": null, "resolutiondate": null, "created": "2018-09-18T19:41:08.000+0000", "priority": null, "labels": [ "engSchedule", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-26T20:51:04.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "We have signature drawing panel inside of scrollview. To stop scrolling on outer scrollview while drawing , we have put bubbleParent=\"false\" on signature drawing webview.\r\nUntil SDK 7.3.1 GA and XCODE 9.2 , signature drawing was working fine. See [^SDK_7.3.1 GA.mov] \r\n\r\nBut with SDK 7.4.0 GA and XCODE 10, the outer scrollview is scrolling. See [^SDK_7.4.0 GA.mov] \r\n\r\nTo Reproduce\r\nSteps to reproduce the behavior, e.g.:\r\n\r\nBuild app on SDK 7.4.0\r\nTry drawing a signature in white box\r\nSee entire page scrolls. Page shouldn't scroll while signing.\r\nExpected behavior\r\nAs Sign widget has bubbleParent=\"false\", scrolling should not happen on parent view. \r\nIt works as expected on SDK 7.3.1 GA. But breaks on SDK 7.4.0 GA\r\n\r\nEnvironment\r\nTitanium SDK version: SDK 7.4.0 GA\r\nCLI version: 7.0.6\r\n\r\nA Test project demonstrating this issue can be found here: https://github.com/nirmaljpatel/TitaniumTestApp", "attachment": [ { "id": "65537", "filename": "SDK_7.3.1 GA.mov", "author": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "created": "2018-09-18T19:35:31.000+0000", "size": 349607, "mimeType": "video/quicktime" }, { "id": "65536", "filename": "SDK_7.4.0 GA.mov", "author": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "created": "2018-09-18T19:35:55.000+0000", "size": 1418240, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS12: BubbleParent not working with Scrollview on SDK 7.4.0 GA", "creator": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "441683", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to run the attached test app in this ticket and it is behaving same in 7.3.0 and 7.4.0 for me. Behaviur is same as attached SDK_7.4.0 GA.mov .\r\n[~ewieber]/[~smohammed] Can you please test at your end and let me know the result. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-19T07:14:20.000+0000", "updated": "2018-09-19T07:14:20.000+0000" }, { "id": "441684", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "There might be an issue between iOS 11.2 (Xcode 9.2) and iOS 11.3+ (Xcode 9.3+). [~Nirmalkumar_Patel] Can you run this test on a iOS 11.3/11.4 device and let us know? I don't think this is a iOS 12 regression, but still a bug.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-19T07:35:34.000+0000", "updated": "2018-09-19T07:35:43.000+0000" }, { "id": "441687", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~vijaysingh], [~hknoechel] I can reproduce this issue on a device running iOS 11.4 using SDK version 7.3.1.GA and I can also reproduce this issue on a device running iOS 12 on SDK version 7.4.0.GA. This was tested by using the example app mentioned in the description and by using Xcode 10.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-19T09:26:16.000+0000", "updated": "2018-09-19T09:26:16.000+0000" }, { "id": "441706", "author": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "body": "Here's a summary of testing on different SDK - Xcode combinations\r\n\r\n| SDK | CLI | Xcode | Test Device (iOS) | Result |\r\n|7.3.1.GA| 7.0.6 | 9.2 | 12, 11.3, 11.4.1 | Pass |\r\n|7.4.0.GA| 7.0.6 | 9.2 | 12, 11.3, 11.4.1 | Pass |\r\n|7.3.1.GA| 7.0.6 | 9.4 | 12, 11.3, 11.4.1 | Fail |\r\n|7.4.0.GA| 7.0.6 | 9.4 | 12, 11.3, 11.4.1 | Fail |\r\n|7.4.0.GA| 7.0.6 | 10 | 12, 11.3, 11.4.1 | Fail |", "updateAuthor": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "created": "2018-09-19T17:11:17.000+0000", "updated": "2018-09-19T17:11:17.000+0000" }, { "id": "441867", "author": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "body": "Hi Hans, is this considered a bug to be fixed?", "updateAuthor": { "name": "Nirmalkumar_Patel", "key": "nirmalkumar_patel", "displayName": "Nirmal", "active": true, "timeZone": "America/Chicago" }, "created": "2018-09-20T22:09:50.000+0000", "updated": "2018-09-20T22:09:50.000+0000" }, { "id": "442150", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested it on iOS 11.1 with Xcode 10. It is working fine. \r\nThis bug seems to introduced due to some change in WebView in iOS 11.3+ (Xcode 9.3+) from Apple. We faced a WebView related bug TIMOB-25762 in iOS 11.3+ (Xcode 9.3+). I'll look in this.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-28T06:22:38.000+0000", "updated": "2018-09-28T06:22:38.000+0000" }, { "id": "442684", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Simple test case -\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n height: Ti.UI.FILL,\r\n width: Ti.UI.FILL\r\n});\r\n\r\nvar outerView = Ti.UI.createView({\r\n layout: 'vertical'\r\n})\r\n\r\nvar redView = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n height: 200,\r\n width: Ti.UI.FILL\r\n});\r\nouterView.add(redView);\r\n\r\nvar greenView1 = Ti.UI.createView({\r\n backgroundColor: 'green',\r\n height: 200,\r\n width: Ti.UI.FILL\r\n});\r\nouterView.add(greenView1);\r\n\r\nvar whiteView = Ti.UI.createView({\r\n backgroundColor: 'white',\r\n height: 150,\r\n width: 300\r\n});\r\ngreenView1.add(whiteView);\r\n\r\nvar webContainerView = Ti.UI.createView({\r\n backgroundColor: 'white',\r\n height: '99%',\r\n width: '99%',\r\n top: '1%',\r\n left: '1%',\r\n reight: '1%',\r\n});\r\n\r\nvar webView = Ti.UI.createWebView({\r\n left: '0%',\r\n disableBounce: true,\r\n willHandleTouches: false,\r\n url: 'signature.html'\r\n});\r\nwebContainerView.add(webView);\r\nwhiteView.add(webContainerView);\r\n\r\n\r\nvar yellowView = Ti.UI.createView({\r\n backgroundColor: 'yellow',\r\n height: 200,\r\n width: Ti.UI.FILL\r\n});\r\nouterView.add(yellowView);\r\n\r\nscrollView.add(outerView);\r\nwin.add(scrollView);\r\nwin.open();\r\n\r\nvar saveCallback = null;\r\n\r\nvar saveSignHdlr = function (evt) {\r\n Ti.App.removeEventListener('app:saveSign', saveSignHdlr);\r\n saveCallback(evt.inputArray);\r\n};\r\n\r\nfunction saveSign(callback){\r\n Ti.API.log('SignWidget', 'saveSign() invoked...');\r\n saveCallback = callback;\r\n Ti.App.addEventListener('app:saveSign', saveSignHdlr);\r\n Ti.App.fireEvent('app:signatureSave', {message : 'event fired from Titanium, for Signature Save'});\r\n};\r\n\r\nfunction clearSign(){\r\n Ti.API.log('SignWidget', 'clearSign() invoked...');\r\n Ti.App.fireEvent('app:signatureClear', {\r\n message : 'event fired from Titanium, for Signature Clear'\r\n });\r\n};\r\n\r\nfunction getSign(callback) {\r\n Ti.API.log('SignWidget', 'getSign() invoked...');\r\n saveSign(callback);\r\n}\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-17T09:56:07.000+0000", "updated": "2018-10-17T09:56:07.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }