hyochan / react-native-masonry-list

The Masonry List implementation which has similar implementation as the `FlatList` in React Native
MIT License
399 stars 55 forks source link

[Feature] Option to remove load spinner from momentum scroll #48

Closed jjenzz closed 2 years ago

jjenzz commented 2 years ago

Is your feature request related to a problem? Please describe.

I am using your masonry list for a gif search component (thanks btw, saved me lots of time 💛 ) and when pulling down at the top of the scrollable list, i do not want to refresh the results but i cannot figure out how to stop the built in loading spinner from appearing.

Describe the solution you'd like

A way to remove / customise the default loading spinner.

Describe alternatives you've considered

I tried to pass loading={false} and refreshing={false} and a custom LoadingView component but it made no difference. Is there a way to achieve this that I am missing?

Additional context

I am referring to the black spinner that appears here between the search box and the results when I pull down:

https://user-images.githubusercontent.com/175330/192850791-7fb61e5c-2f3b-4e0c-a0ce-24e8e4792879.mp4

jjenzz commented 2 years ago

heh, sods law, i just discovered the refreshControl={false} prop after raising. will close !