Skip to content

Conversation

@ntorion
Copy link

@ntorion ntorion commented Apr 24, 2019

Hi, I detected that onScroll function passed in props to PTRView component wasn't called only on iOS.
An issue related to this problem has already been opened : #28
This pull request fix the issue by adding the missing call.

@VicEsquivel
Copy link

I think it would be better to check if not null first right? Or will that be handled elsewhere?

const { onScroll } = this.props;
if(onScroll) onScroll(e);

@ntorion
Copy link
Author

ntorion commented May 27, 2019

yes a condition is required you're right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants