react-native-waterfall-flow icon indicating copy to clipboard operation
react-native-waterfall-flow copied to clipboard

Fix setNativeProps no props attribute passed

Open CodingEnding opened this issue 11 months ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-waterfall-flow/src/index.js b/node_modules/react-native-waterfall-flow/src/index.js
index dac504d..688b74b 100644
--- a/node_modules/react-native-waterfall-flow/src/index.js
+++ b/node_modules/react-native-waterfall-flow/src/index.js
@@ -172,7 +172,7 @@ export default class WaterfallFlow extends React.PureComponent {
 
   getScrollableNode = () => this._listRef.getScrollableNode()
 
-  setNativeProps = () => this._listRef.setNativeProps()
+  setNativeProps = (props) => this._listRef.setNativeProps(props)
 
   render() {
     const {

This issue body was partially generated by patch-package.

CodingEnding avatar Mar 10 '24 07:03 CodingEnding