[TIMOB-20385] Windows: ScrollView does not respect `top` property on views
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-02-25T14:18:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.3.0 |
Components | Windows |
Labels | qe-5.3.0 |
Reporter | Bert Grantges |
Assignee | Kota Iguchi |
Created | 2016-02-10T23:08:12.000+0000 |
Updated | 2016-04-15T21:58:32.000+0000 |
Description
View content laying out in the center of the view, despite the fact that a top
property is specified.
Adding a View to another view with property top=20, view still aligns centered despite top property setting.
Attachments
Customer is reporting that this is most noticed within a ScrollView or ScrollableView. I was not able to reproduce this when the View was a child of a normal Window.
Based on some tests, this seems to be an issue within ScrollView and ScrollableView. The top property is not respected, and the layout is not rendered as expected. See the screenshot - highlighted in the code is the top property in the the view child of the ScrollView. Note that the top square's top property is rendering as expected.
PR for ScrollView: https://github.com/appcelerator/titanium_mobile_windows/pull/568 Confirmed that this issue does not happen on ScrollableView: TIMOB-20460
Verified as fixed, setting
top
property for views are now respected. Tested on: Windows 10 Pro Windows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201604151027 Ti SDK: 5.3.0.v20160415081725 Appc NPM: 4.2.5-1 Appc Core: 5.3.0-12 Node: v4.4.2 *Closing Ticket.*