Skip to content

Commit 8f425f1

Browse files
authored
Merge pull request #7 from chenop/onScroll_is_not_being_passed_with_the_event_param
On scroll is not being passed with the event param
2 parents 71a1b7d + 296e27a commit 8f425f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ For styling pass these props.
3939
| Name | Callback param | Description |
4040
|---------------------------|------------------------------------------|-------------|
4141
| isCloseToEnd | Boolean | if scroll is close to end or not. |
42-
| isCloseToStart | Boolean | if scroll is close to start or not. |
42+
| isCloseToStart | Boolean | if scroll is close to start or not. |

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class RNFadedScrollView extends Component {
7777
}
7878
}
7979
if (this.props.onScroll) {
80-
this.props.onScroll();
80+
this.props.onScroll(e);
8181
}
8282
}
8383

0 commit comments

Comments
 (0)