{ "id": "138081", "key": "TIMOB-17862", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T21:54:21.000+0000", "created": "2014-10-15T02:31:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "mobileweb", "textfield" ], "versions": [], "issuelinks": [ { "id": "42153", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "93667", "key": "TIMOB-9717", "fields": { "summary": "MobileWeb: textFields are not focusable on Chrome", "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": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:42.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": "This is working on ios and android but not on web. This is urgent, please fix it asap. Thanks a lot! :-)\r\n\r\nCode snippet to replicate this problem:\r\n\r\n var view1 = Ti.UI.createView({backgroundColor:'#123', layout:\"vertical\" });\r\n\tvar view2 = Ti.UI.createView({backgroundColor:'#246' });\r\n\tvar data = [];\r\n for(var i=0; i<10; i++){\r\n view1.add(buildRow(i));\r\n };\r\n \r\n var scrolly = Titanium.UI.createScrollableView({\r\n \tviews:[view1,view2],\r\n \tshowPagingControl:true\r\n });\r\n w.add(scrolly);\r\n \r\n function buildRow(idx){\r\n \tvar row = Ti.UI.createView({\r\n \t\theight:44\r\n \t});\r\n \t\r\n \tvar textField = Ti.UI.createTextField({\r\n\t borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\t color: '#336699',\r\n\t top: 10, left: 10,\r\n\t width: 250, height: 30,\r\n\t hintText:idx\r\n\t});\r\n \t\r\n \trow.add(textField);\r\n \treturn row;\r\n }\r\n ", "attachment": [], "flagged": false, "summary": "Textfield becomes not editable in a scrollable view on mobileweb", "creator": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti 3.3.0, 3.4.0", "comment": { "comments": [ { "id": "328134", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Problem can be reproduced on:\r\nTi SDK 3.3.0 an 3.4.0.GA\r\nGoogle Chrome Version 37.0.2062.124\r\n\r\nHere is the test code:\r\n{code}\r\nvar w = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n\tbackgroundColor:'#123', \r\n\tlayout:\"vertical\" \r\n});\r\n\r\nvar view2 = Ti.UI.createView({\r\n\tbackgroundColor:'#246' \r\n});\r\n\r\nvar textField2 = Ti.UI.createTextField({ \r\n\t\tborderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, \r\n\t\tcolor: '#336699', \r\n\t\ttop: 10, \r\n\t\tleft: 10, \r\n\t\twidth: 250, \r\n\t\theight: 30, \r\n\t\thintText:'text2',\r\n\t\teditable: true\r\n});\r\nview2.add(textField2);\r\n\r\nfor(var i=0; i<10; i++) { \r\n\tview1.add(buildRow(i)); \r\n};\r\n\r\nvar scrolly = Titanium.UI.createScrollableView({ \r\n\tviews:[view1,view2], \r\n\tshowPagingControl:true \r\n});\r\n\r\nfunction buildRow(idx) {\r\n\tvar row = Ti.UI.createView({ \r\n\t\theight:44 \r\n\t});\r\n\t\r\n\tvar textField = Ti.UI.createTextField({ \r\n\t\tborderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, \r\n\t\tcolor: '#336699', \r\n\t\ttop: 10, \r\n\t\tleft: 10, \r\n\t\twidth: 250, \r\n\t\theight: 30, \r\n\t\thintText:idx,\r\n\t\teditable: true\r\n\t});\r\n\t\r\n\trow.add(textField);\r\n\treturn row;\r\n};\r\n\r\nw.add(scrolly);\r\nw.open();\r\n{code}", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-10-15T03:21:02.000+0000", "updated": "2014-10-15T03:21:02.000+0000" }, { "id": "422842", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T21:54:21.000+0000", "updated": "2017-06-26T21:54:21.000+0000" }, { "id": "436484", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:42.000+0000", "updated": "2018-04-04T23:20:42.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }