{ "id": "176129", "key": "TIMOB-28398", "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": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-18T18:15:01.000+0000", "created": "2021-03-18T03:37:29.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ScrollView", "android", "contentOffset", "convertPointToView", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-18T18:15:01.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Summary:*\r\nWhen calling [convertPointToView()|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-method-convertPointToView] where the \"destinationView\" argument is a [ScrollView|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ScrollView], the [contentOffset|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ScrollView-property-contentOffset] should be applied. Supporting this would make it easier to scroll to a child view within the scroll view.\r\n\r\n*Steps to reproduce:*\r\n# Build and run [^ScrollViewOffsetVerticalTest.js] for Android or iOS.\r\n# Tap on the \"Navigate\" button in the bottom right corner.\r\n# Select \"Blue View\" in the dialog.\r\n# Notice that the top of the blue view is scrolled to the top of the scroll view. _(This is good.)_\r\n# Tap on the \"Navigate\" button and select \"Blue View\" again.\r\n# Notice you are scrolled somewhere else. _(This is bad. It should not have scrolled at all.)_\r\n", "attachment": [ { "id": "67846", "filename": "ScrollViewOffsetVerticalTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-18T03:31:17.000+0000", "size": 1714, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "TiAPI: convertPointToView() ignores \"contentOffset\" in ScrollView", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1220, "state": "closed", "name": "2021 Sprint 6", "startDate": "2021-03-15T03:31:12.088Z", "endDate": "2021-03-27T03:31:00.000Z", "completeDate": "2021-03-26T19:18:15.760Z", "originBoardId": 114 }, { "id": 1221, "state": "closed", "name": "2021 Sprint 7", "startDate": "2021-03-29T19:18:00.000Z", "endDate": "2021-04-09T19:18:00.000Z", "completeDate": "2021-04-12T21:26:15.427Z", "originBoardId": 114 }, { "id": 1222, "state": "closed", "name": "2021 Sprint 8", "startDate": "2021-04-12T21:26:41.532Z", "endDate": "2021-04-23T21:26:00.000Z", "completeDate": "2021-04-28T15:13:56.824Z", "originBoardId": 114 }, { "id": 1223, "state": "closed", "name": "2021 Sprint 9", "startDate": "2021-04-26T15:14:42.215Z", "endDate": "2021-05-07T15:14:00.000Z", "completeDate": "2021-05-17T16:30:45.852Z", "originBoardId": 114 }, { "id": 1224, "state": "closed", "name": "2021 Sprint 10", "startDate": "2021-05-17T16:31:32.484Z", "endDate": "2021-05-28T16:31:00.000Z", "completeDate": "2021-05-28T22:15:02.543Z", "originBoardId": 114 }, { "id": 1225, "state": "closed", "name": "2021 Sprint 11", "startDate": "2021-05-28T22:19:23.792Z", "endDate": "2021-06-11T22:19:00.000Z", "completeDate": "2021-06-11T20:29:04.462Z", "originBoardId": 114 }, { "id": 1227, "state": "closed", "name": "2021 Sprint 12", "startDate": "2021-06-11T20:29:43.936Z", "endDate": "2021-06-25T20:29:00.000Z", "completeDate": "2021-07-06T14:26:59.346Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "458445", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/12617", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-18T03:56:12.000+0000", "updated": "2021-03-18T03:56:12.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }