danbovey / react-infinite-scroller

⏬ Infinite scroll component for React in ES6
https://danbovey.uk/react-infinite-scroller/
MIT License
3.29k stars 508 forks source link

errorCannot read property 'offsetHeight' of null #147

Closed pratikt4f closed 6 years ago

pratikt4f commented 6 years ago

Issue return elements without key

Noted From Log Check the render method of InfiniteScroll. It was passed a child from Tours. See https://fb.me/react-warning-keys for more information. in div (created by Tours) in InfiniteScroll (created by Tours) in div (created by Tours) in section (created by Tours) in div (created by Tours) in div (created by Tours) in Tours (created by Connect(Tours)) in Connect(Tours) (created by Route) in Route (created by ClientRoute) in Switch (created by ClientRoute) in Router (created by ClientRoute) in ClientRoute (created by Connect(ClientRoute)) in Connect(ClientRoute) in div in Provider in AppContainer

Chrome Version: 65.0.3325

From Tracking ifs_2018-04-11 11 26 53

Please Help : @danbovey

partykyoung commented 6 years ago

I'm having the same issue

cherya commented 6 years ago

same for me

skovy commented 6 years ago

We have also been running into this error.

Opened a PR with a fix that seems to have fixed this specific error for us: https://github.com/CassetteRocks/react-infinite-scroller/pull/172

skovy commented 6 years ago

@danbovey now that the linked PR was just merged, I believe this issue should be resolved?

@pratikt4f @partyKyoung @cherya does updating to version 1.2.1 resolve this issue for you?

danbovey commented 6 years ago

Closed in #172

pratikt4f commented 6 years ago

Thank you so very much. @skovy @danbovey

hyl1374961656 commented 2 years ago

Is the problem solved? Why does this still exist on my side