You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ! 👋
Firstly, thanks for your work on this project! 🙂
📋 Description
When using React 19, RefreshControl.web.js currently attempts to access the element via React Native’s findNodeHandle, which no longer works. This patch replaces findNodeHandle with direct traversal (ref.current.firstChild), restoring compatibility with React 19+.
🐛 Steps to Reproduce
Install React 19 in your project.
Add react-native-web-refresh-control@1.1.2.
Try pulling to refresh a scrollable container on the web.
Observe that an error is thrown.
🤔 Expected Behavior
Pull-to-refresh should work as before: dragging down when the container is scrolled to the top should trigger the refresh indicator and the onRefresh callback.
Hi ! 👋
Firstly, thanks for your work on this project! 🙂
📋 Description
When using React 19,
RefreshControl.web.js
currently attempts to access the element via React Native’sfindNodeHandle
, which no longer works. This patch replacesfindNodeHandle
with direct traversal (ref.current.firstChild
), restoring compatibility with React 19+.🐛 Steps to Reproduce
react-native-web-refresh-control@1.1.2
.🤔 Expected Behavior
Pull-to-refresh should work as before: dragging down when the container is scrolled to the top should trigger the refresh indicator and the
onRefresh
callback.🔧 Patch Diff
💡 Additional Context
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: