Quantcast
Viewing all articles
Browse latest Browse all 15

bug: scrollEnd event is not returning negative contentOffset.y titanium SDK 1.6.0

this is bug report: titanium SDK 1.6.0 iOS

i am trying to integrate pull to refresh from kitchen sink example (https://github.com/appcelerator/KitchenSink/blob/master/KitchenSink/Resources/examples/table_view_pull_to_refresh.js) i am expecting getting negative values, to check if i've passed required height to start retrieving data, but i am geting -0 all the time. this works fine for SDK 1.5.1 but not for SDK 1.6.0

example:

tableView.addEventListener('scrollEnd',function(e) {
Titanium.API.info(e.contentOffset.y);
});
EDIT: i've just updated to 1.6.0RC and it looks like this was fixed.

Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>