Closed
Description
I have a component that looks something like this:
var ScrollTest = React.createClass({
render() {
return (
<ScrollView onScroll={this.onScroll}>
<View style={{ height: 2000 }} />
</ScrollView>
);
},
onScroll: function(e) {
console.log("Scroll", e)
}
});
Right now I'm only seeing the log message when I start a new scroll action. Is there a way to get that onScroll event to fire on every frame? I want the height of another component to depend on the scroll position of this ScrollView component. (trying to duplicate the behavior you see on the iOS Weather app when you scroll down).