Skip to content

Instantly share code, notes, and snippets.

View anton-patrushev's full-sized avatar

Anton Patrushev anton-patrushev

View GitHub Profile
@anton-patrushev
anton-patrushev / react-native+0.66.4.patch
Created March 27, 2022 12:50
React Native Android ScrollView - Fix onMomentumScrollEnd being called multiple times
diff --git a/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js b/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
index e497288..999550c 100644
--- a/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
+++ b/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
@@ -50,6 +50,7 @@ import AndroidHorizontalScrollContentViewNativeComponent from './AndroidHorizont
import AndroidHorizontalScrollViewNativeComponent from './AndroidHorizontalScrollViewNativeComponent';
import ScrollContentViewNativeComponent from './ScrollContentViewNativeComponent';
import ScrollViewNativeComponent from './ScrollViewNativeComponent';
+import { debounce } from 'throttle-debounce';
### Keybase proof
I hereby claim:
* I am anton-patrushev on github.
* I am antonpatrushev (https://keybase.io/antonpatrushev) on keybase.
* I have a public key ASA0kbMS6WghnAi20nDxf_S-l_c5Orr_B8AUV00KEKtLzwo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am anton-patrushev on github.
* I am antonpatrushev (https://keybase.io/antonpatrushev) on keybase.
* I have a public key ASC9wID7T4O51fcgsE8NPHALN3xt1GWKfrmy4wweKOXA1wo
To claim this, I am signing this object: