Skip to content

Commit 9ded37a

Browse files
Removed onScrollAnimationEnd
* Compatibility with react-native@0.48.4 * Fixed #5
1 parent 4cecd50 commit 9ded37a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

android/src/main/java/com/rnnestedscrollview/ReactNestedScrollViewManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ public static Map createExportedCustomDirectEventTypeConstants() {
224224
.put(ScrollEventType.SCROLL.getJSEventName(), MapBuilder.of("registrationName", "onScroll"))
225225
.put(ScrollEventType.BEGIN_DRAG.getJSEventName(), MapBuilder.of("registrationName", "onScrollBeginDrag"))
226226
.put(ScrollEventType.END_DRAG.getJSEventName(), MapBuilder.of("registrationName", "onScrollEndDrag"))
227-
.put(ScrollEventType.ANIMATION_END.getJSEventName(), MapBuilder.of("registrationName", "onScrollAnimationEnd"))
228227
.put(ScrollEventType.MOMENTUM_BEGIN.getJSEventName(), MapBuilder.of("registrationName", "onMomentumScrollBegin"))
229228
.put(ScrollEventType.MOMENTUM_END.getJSEventName(), MapBuilder.of("registrationName", "onMomentumScrollEnd"))
230229
.build();

lib/NestedScrollView.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,6 @@ const ScrollView = createReactClass({
245245
* events can be controlled using the `scrollEventThrottle` prop.
246246
*/
247247
onScroll: PropTypes.func,
248-
/**
249-
* Called when a scrolling animation ends.
250-
* @platform ios
251-
*/
252-
onScrollAnimationEnd: PropTypes.func,
253248
/**
254249
* Called when scrollable content view of the ScrollView changes.
255250
*

0 commit comments

Comments
 (0)