{ "id": "104832", "key": "TIMOB-11730", "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": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14627", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24 JS", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-21T20:00:13.000+0000", "created": "2012-11-12T17:06:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-09T01:04:55.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h1. Problem description\r\nWhile scrolling a ScrollView in the browser, the opacity value of some html elements in the page is set to wrong values (e.g. high negative numbers).\r\n\r\nh1. Steps to reproduce\r\nUse the following code:\r\n\r\n{code}\r\nTitanium.UI.setBackgroundColor(\"#efefef\");\r\n\r\nvar loginWindow = Titanium.UI.createWindow({\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL\r\n});\r\n\r\nvar loginContainer = Ti.UI.createScrollView({\r\n top : 0,\r\n left : 0,\r\n width : 300,\r\n height: 400\r\n})\r\n\r\nvar userNameTextField = Titanium.UI.createTextField({\r\n backgroundColor : \"white\",\r\n width: 320,\r\n top: 100\r\n});\r\n\r\nloginContainer.add(userNameTextField);\r\nloginWindow.add(loginContainer);\r\nloginWindow.open();\r\n{code}\r\n\r\nRun the app on the browser (e.g. Chrome); looking at the source during the scrolling (the view scrolls a bit left/right), you might see these elements:\r\n\r\n{code}\r\n
\r\n\r\n
\r\n
\r\n{code}\r\n\r\nThe properties of this element are changing while scrolling: the opacity gets a wrong value of -7319573220020853000.", "attachment": [], "flagged": false, "summary": "MobileWeb: Wrong value for opacity is set to html elements", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "MobileWeb\r\nSDK 3.0.0\r\n", "comment": { "comments": [ { "id": "227969", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3446\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3447", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-20T01:05:27.000+0000", "updated": "2012-11-20T01:05:27.000+0000" }, { "id": "410189", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T01:04:55.000+0000", "updated": "2017-03-09T01:04:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }