react-native-web-refresh-control
react-native-web-refresh-control copied to clipboard
fix: Only set CustomRefreshControl if the user sets onRefresh prop
Hi! 👋
Thanks for making this component available!
I ran into the issue described here: https://github.com/NiciusB/react-native-web-refresh-control/issues/12 So I decided to attempt the solution proposed there:
Solution: Only set CustomRefreshControl if the user sets onRefresh prop
This solves my problem. How was this tested:
- I tested this on web version of my app
- Ensured other FlatLists dont break