{ "id": "126314", "key": "TIMOB-16456", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-02-24T17:56:24.000+0000", "created": "2014-02-12T17:34:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "supportTeam" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "36299", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "125973", "key": "AC-2473", "fields": { "summary": "Android webview scrolls up when typing in input field", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T21:38:57.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": "h3. Issue\r\n\r\nWhen a webview is assigned a negative value in the top property will start scrolling up when user starts typing into a textfield, this will occur while the focus textfield is visible in the screen, once this textfield is our of screen the scrolling will stop.\r\n\r\nh3. Testing\r\n\r\nTested on SDK 3.2.0, SDK 3.2.1 and SDK 3.1.3 \r\n\r\nWhile testing this issue comes to our attention that this issue will not be reproducible across all android devices and versions.\r\n\r\nShowing the issue:\r\n\r\nSamsung Galaxy III mini - Android 4.1.3\r\nSamsung Galaxy S2 - Android 4.2.2\r\nSony Ericsson Xperia Play - Android 4.0.4\r\n\r\nNot Showing the issue:\r\n\r\nNexus 7 - Android 4.4\r\nSamsung Galaxy Player - Android 2.3.5\r\n\r\nh3. Steps to Repro\r\n\r\n1. Run the test case\r\n2. Click on a webview textfield\r\n3. Start Typing\r\n4. The webview will start scrolling up\r\n\r\nh3. Test case\r\n\r\nindex.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nindex.tss\r\n{code}\r\n\".container\": {\r\n\tbackgroundColor:\"white\",\r\n\tlayout: 'vertical'\r\n},\r\n\"Label\": {\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\tcolor: \"#000\"\r\n},\r\n\"#webview\": {\r\n\ttop: '-100dp'\r\n}\r\n{code}\r\n\r\nindex.js\r\n{code}\r\nfunction doClick(e) {\r\n alert($.label.text);\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: WebView scrolling up when typing if top property has negative value", "creator": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: Mobile 3.2GA 3.1GA\r\nCLI: 3.2.0 3.2.1\r\nPlatform OS: Android", "comment": { "comments": [ { "id": "294388", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Not our bug\" based on comments that this is the same as native behavior.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-24T17:56:24.000+0000", "updated": "2014-02-24T17:56:24.000+0000" }, { "id": "411591", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T21:38:57.000+0000", "updated": "2017-03-13T21:38:57.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }