Skip to content

Instantly share code, notes, and snippets.

View camchis's full-sized avatar
🤙
gm

Cameron Chisholm camchis

🤙
gm
View GitHub Profile
@camchis
camchis / react-native+0.77.2.patch
Created September 5, 2025 14:36
RefreshControl fix refreshing on mount
diff --git a/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm b/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm
index 3a5679e..888e0c8 100644
--- a/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm
+++ b/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm
@@ -24,6 +24,7 @@ @interface RCTPullToRefreshViewComponentView () <RCTPullToRefreshViewViewProtoco
@end
@implementation RCTPullToRefreshViewComponentView {
+ BOOL _isBeforeInitialLayout;
UIRefreshControl *_refreshControl;