{ "id": "92275", "key": "TIMOB-9218", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-24T18:02:51.000+0000", "created": "2012-05-24T06:15:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-and051412" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-24T18:02:51.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The contents of the textarea scrolls up on firing blur event.\r\n\r\nSteps to reproduce :\r\nUse the app.js given below\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow({\r\n backgroundColor: \"red\"\r\n});\r\n\r\n var textHeight = 55;\r\n\r\n var l1 = Titanium.UI.createLabel({\r\n height:Ti.UI.SIZE,\r\n width:182,\r\n font:{fontSize:12,fontFamily:'ARIAL', fontWeight:'solid'},\r\n color:'#000',\r\n textAlign:'left',\r\n borderWidth:0,\r\n top:20,\r\n borderWidth:2,\r\n borderColor:'#bbb',\r\n borderRadius:10 \r\n });\r\n   \r\n var tf = Titanium.UI.createTextArea({\r\n  height:textHeight,\r\n width:200,\r\n  font:{fontSize:12,fontFamily:'ARIAL', fontWeight:'solid'},\r\n  color:'#000',\r\n  textAlign:'left',\r\n color:'#777',\r\n paddingLeft:0,\r\n borderWidth:0,\r\n borderStyle:Titanium.UI.INPUT_BORDERSTYLE_NONE,\r\n top: 100,\r\n borderWidth:2,\r\n borderRadius:10\r\n });\r\n  \r\n var b1 = Titanium.UI.createButton({\r\n title:'Blur',\r\n width:200,\r\n height:40,\r\n top:160\r\n});\r\n \r\n tf.scrollable = false;\r\n  \r\n tf.addEventListener('change',function(e)\r\n {\r\n l1.text = tf.value;\r\n });\r\n  \r\n _window.add(l1);\r\n _window.add(tf); \r\n _window.add(b1);\r\n \r\n b1.addEventListener('click', function(e){\r\n tf.blur();\r\n });\r\n\r\n_window.open();\r\n{code}\r\n\r\n1. Enter 3 lines of text into the textArea \r\n2. Click on the blur button\r\n3. Tap on the textArea to focus on the textArea\r\nExpected results:\r\nAfter step 3: Contents of the textArea should not scroll up\r\n\r\nActual results:\r\nAfter step 3: Contents of the textArea scrolls up on firing blur event.\r\n\r\nIt is also occurring in 2.0.1 and 1.8.2 build.\r\nNot occurring on android 3.2 and android 4.0.2\r\n\r\n(Reference test case : Titanium.UI.TextArea Acceptance TIMOB-4976)", "attachment": [], "flagged": false, "summary": "Android:TextArea:Contents of the textArea scrolls up on blur event.", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Titanium SDK: 2.0.2.v20120522180515\r\nTested with Titanium Studio: 2.0.2.201205212423,2.0.1 and 1.8.2\r\nAndroid 2.2.2\r\nMachine OS - Window 7", "comment": { "comments": [ { "id": "241118", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem cannot reproduces with android 4.0.4.\r\n\r\ntested on\r\n\r\nTitanium Studio, build: 3.0.2.201302191606\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\nAndroid Emulator: Android SDK version: 2.2\r\n\r\n\r\nAfter Tap on the textArea, it focus corresponding textArea.", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-07T08:40:46.000+0000", "updated": "2013-03-07T08:42:06.000+0000" }, { "id": "424603", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-24T18:02:51.000+0000", "updated": "2017-07-24T18:02:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }