react-infinite-scroller
react-infinite-scroller copied to clipboard
The loader prop component gets loaded when the component mounts
So i have an issue obviously the correct behaviour should be when a user scrolls then display the loader while we fetch some data however i have a weird behaviour were when i load the component the loader component that passed to the loader prop gets loaded by default before scrolling or doing anything..I tried to set initialLoad to false but that doesn't seem to work..Anyone dealt with similar issue ?
Thanks
Looking at the code for the scroller I think the problem could be from the initialLoad prop!
This sounds very similar to the issue people have mentioned here: https://github.com/CassetteRocks/react-infinite-scroller/issues/163