react-native-web-refresh-control icon indicating copy to clipboard operation
react-native-web-refresh-control copied to clipboard

fix: Only set CustomRefreshControl if the user sets onRefresh prop

Open indraneelpatil opened this issue 1 year ago • 0 comments

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:

  1. I tested this on web version of my app
  2. Ensured other FlatLists dont break

indraneelpatil avatar Apr 08 '25 16:04 indraneelpatil