{ "id": "159137", "key": "TIMOB-23123", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-12-04T12:55:46.000+0000", "created": "2016-03-30T12:53:44.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "webView" ], "versions": [ { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [ { "id": "52255", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155789", "key": "TIMOB-20587", "fields": { "summary": "IOS9: Ti.UI.SIZE is not working well for WebView inside a ScrollView", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-12-04T12: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": "Hi,\r\nWebview is taking height more than the contents on iOS. When we set webview height *Titanium.UI.SIZE* it takes lot space below the actual content on iOS but it's working fine on android. Please find the attached screenshot.\r\nTest code \r\n{code}\r\nvar window = Ti.UI.createWindow({\t\r\nbackgroundColor: 'red', \r\n}); \r\nvar webview1 = Ti.UI.createWebView({ \r\nheight: Titanium.UI.SIZE, \r\nbackgroundColor: 'green' \r\n}); \r\nwebview1.setHtml(\"

I am using WebView for setting the html content. this is test string which contains some bold text. Now moving to new line.
Now, I'm on new line.

\");\r\n\r\n//webview.html = 'test'; \r\nwindow.add(webview1); \r\nwindow.open();\r\n{code}\r\nTest Environment\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.2\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 5.9.0\r\n npm Version = 3.7.3\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.2.1.GA\r\n SDK Path = Support/Titanium/mobilesdk/osx/5.2.1.GA\r\n Target Platform = iphone\r\n{code}\r\n", "attachment": [ { "id": "58765", "filename": "android.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-03-30T12:54:30.000+0000", "size": 26296, "mimeType": "image/png" }, { "id": "58764", "filename": "Simulator Screen Shot Mar 30, 2016, 6.32.37 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2016-03-30T12:54:29.000+0000", "size": 9574, "mimeType": "image/png" } ], "flagged": false, "summary": "Titanium.UI.SIZE : Webview is taking height more than the contents on iOS", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": null, "comment": { "comments": [ { "id": "382767", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-14T23:19:59.000+0000", "updated": "2016-07-27T16:50:51.000+0000" }, { "id": "391657", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Have same problem with 3.5.1GA. ", "updateAuthor": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-27T13:03:24.000+0000", "updated": "2016-07-27T13:03:24.000+0000" }, { "id": "391689", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~CREATIVE KAIZEN] Hello, only just realised all of our comments were restricted to developers, apologies for that. Please take a look at the above comment and also at the related ticket. Thank you. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-27T16:58:03.000+0000", "updated": "2016-07-27T16:58:03.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }