{ "id": "172692", "key": "AC-6045", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-12-17T21:52:45.000+0000", "created": "2018-12-03T16:07:46.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-17T21:52:45.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Issue with the web listened in relationship with the Web View.\r\n\r\nWhen i have a Web View in an event listener to the main window, the web view is not accesible.\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow();\r\n\t\t\t\t\t\t\t \r\nwin.add(Ti.UI.createWebView({\r\n\theight:'300dip',\r\n\ttop:'0dip',\r\n\tleft:'0dip',\r\n\tright:'0dip',\r\n enableZoomControls:false,\r\n scalesPageToFit:false,\r\n scrollsToTop:false,\r\n showScrollbars:false,\r\n hideLoadIndicator:true,\r\n url:'https://www.google.com/'\r\n}));\r\n\r\nwin.addEventListener('click', function() {\r\n\tTi.API.info('click');\r\n});\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Issue with the web listened in relationship with the Web View.", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "444192", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hi [~andreas.pingas], \r\nCan you share more details? What version of ti SDK you're using? Please share complete trace log. In which platform do you experience this? Android or iOS? Let us know the update.\r\n\r\nThanks!", "updateAuthor": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-12-04T05:52:47.000+0000", "updated": "2018-12-04T05:52:47.000+0000" }, { "id": "444345", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Eventually it was not a bug but a setting of the Webview:\r\n\r\nwillHandleTouches : Boolean\r\nExplicitly specifies if this web view handles touches.\r\n\r\nOn the iOS platform, if this web view or any of its parent views have touch listeners, the Titanium component intercepts all touch events. This prevents the user from interacting with the native web view components.\r\n\r\nSet this flag to false to disable the default behavior. Setting this property to false allows the user to interact with the native web view and still honor any touch events sent to its parents. No touch events will be generated when the user interacts with the web view itself.\r\n\r\nSet this flag to true if you want to receive touch events from the web view and the user does not need to interact with the web content directly.\r\n\r\nThis flag is true by default to retain backwards compatibility with previous behavior.\r\n\r\nDefault: true", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-08T15:52:07.000+0000", "updated": "2018-12-08T15:52:07.000+0000" }, { "id": "444350", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~andreas.pingas], You are able to resolve your issue?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-12-08T21:54:22.000+0000", "updated": "2018-12-08T21:54:22.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }