Skip to content

Commit bae8a00

Browse files
authored
Merge pull request #2 from SolveCare/fix/android_fling
Fix android fling for v6.0.1 compatible library
2 parents cde5180 + d710cf2 commit bae8a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ public void fling(int velocityY) {
283283
postInvalidateOnAnimation();
284284

285285
// END FB SCROLLVIEW CHANGE
286-
} else {
287-
super.fling(velocityY);
288286
}
287+
//Fixed fling issue on support library 26 (see issue https://github.com/cesardeazevedo/react-native-nested-scroll-view/issues/16)
288+
super.fling(velocityY);
289289

290290
if (mSendMomentumEvents || isScrollPerfLoggingEnabled()) {
291291
mFlinging = true;

0 commit comments

Comments
 (0)