ankeetmaini / react-infinite-scroll-component

An awesome Infinite Scroll component in react.
https://react-infinite-scroll-component.netlify.com/
MIT License
2.89k stars 322 forks source link

The function passed in the next props is not getting triggered for the chrome and firefox #360

Open kushalmraut opened 2 years ago

kushalmraut commented 2 years ago

The function passed in the next props is not getting triggered for the chrome and firefox It is working fine in the safari

here is my code

<InfiniteScroll
                dataLength={recipe_data.results.length}
                next={fetchMoreRecipes}
                hasMore={recipe_data.next ? true : false}

                loader={
                  <>
                    <Loading />
                  </>
                }
              >
               ....
</InfiniteScroll>

Thank you

akkhan00 commented 1 year ago

same problem not working (executing) in chrome the Function passed to next in InifiniteScroll Component

thecooltechguy commented 1 year ago

Same here, is there a fix for this?

pgonzalez-santiago commented 1 year ago

Same issue happening in here. Did you find any solution?