{"action":"opened","issue":{"url":"https://api.github.com/repos/jaysoo/react-native-parallax-scroll-view/issues/20","repository_url":"https://api.github.com/repos/jaysoo/react-native-parallax-scroll-view","labels_url":"https://api.github.com/repos/jaysoo/react-native-parallax-scroll-view/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/jaysoo/react-native-parallax-scroll-view/issues/20/comments","events_url":"https://api.github.com/repos/jaysoo/react-native-parallax-scroll-view/issues/20/events","html_url":"https://github.com/jaysoo/react-native-parallax-scroll-view/issues/20","id":141245941,"number":20,"title":"OnScroll, RefreshControl and onEndReached of nested ListView not working","user":{"login":"avishayil","id":827024,"avatar_url":"https://avatars.githubusercontent.com/u/827024?v=3","gravatar_id":"","url":"https://api.github.com/users/avishayil","html_url":"https://github.com/avishayil","followers_url":"https://api.github.com/users/avishayil/followers","following_url":"https://api.github.com/users/avishayil/following{/other_user}","gists_url":"https://api.github.com/users/avishayil/gists{/gist_id}","starred_url":"https://api.github.com/users/avishayil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avishayil/subscriptions","organizations_url":"https://api.github.com/users/avishayil/orgs","repos_url":"https://api.github.com/users/avishayil/repos","events_url":"https://api.github.com/users/avishayil/events{/privacy}","received_events_url":"https://api.github.com/users/avishayil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T11:32:28Z","updated_at":"2016-03-16T11:32:28Z","closed_at":null,"body":"Hi,\r\nI'm trying to nest the following component inside the ParallaxScrollView:\r\n````\r\n                <ListView\r\n                ref=\"listview\"\r\n                key={\"postList\"}\r\n                dataSource={this.state.dataSource}\r\n                renderSectionHeader={this.renderSectionHeader}\r\n                renderRow={this.renderArticle}\r\n                renderFooter={(this.state.connError === false) ? this.renderFooter : this.renderErrorView}\r\n                scrollEnabled={this.state.scrollEnabled}\r\n                onScroll={this.onScroll}\r\n                onEndReached={this.onEndReached}\r\n                refreshControl={\r\n                    <RefreshControl\r\n                    refreshing={this.state.isRefreshing}\r\n                    onRefresh={this.onRefresh}\r\n                    colors={['#f7913d', '#f7913d', '#f7913d']}\r\n                    progressBackgroundColor={'#fff'}\r\n                    />}\r\n                    />\r\n````\r\nOnScroll, onEndReached and RefreshControl are not working.\r\nI Also noticed that scroll properties are not changing by setting the OnScroll function on the ParallaxScrollView:\r\n\r\n````\r\n    onScroll = () => {\r\n        console.log(this.refs.listview.scrollProperties);\r\n        if (this.refs.listview.scrollProperties.offset + this.refs.listview.scrollProperties.visibleLength >= this.refs.listview.scrollProperties.contentLength){\r\n            // this.onEndReached();\r\n        }\r\n    };\r\n````\r\n\r\nAny ideas?"}}