[TIMOB-17247] iOS: Add contentSize property to scroll event
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-14T07:36:25.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 5.2.0 |
Components | iOS |
Labels | ios |
Reporter | Steven van Loef |
Assignee | Hans Knöchel |
Created | 2014-06-01T18:02:49.000+0000 |
Updated | 2016-01-22T00:44:45.000+0000 |
Description
The 'scroll' event for Titanium.UI.ScrollView does not send back the contentSize property for the scrollview. Having the content size is useful when adding items to the bottom of the view based on user scrolling (nearing the end). Tableview does have this, in TiUITableView.m in method eventObjectForScrollView
I've created a [pull request](https://github.com/appcelerator/titanium_mobile/pull/5750) for this (just one line added)
Thanks for your report! The Platform team will set the priority for this.
At the very least we need to add documentation to this. Also, is there parity for Android or MobileWeb?
PR pending with cherry-picked community contribution: https://github.com/appcelerator/titanium_mobile/pull/7433