New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'scrollTop' of undefined #64
Comments
I think I've seen this as well. This is the change: v2.2.3...v2.2.4 Specifically, this is the line that's causing the issue: v2.2.3...v2.2.4#diff-1fdf421c05c1140f6d71444ea2b27638R74 |
Made a PR to help out a bit. |
🎉 This issue has been resolved in version 2.2.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I'm running into a new issue now: |
We should probably add a test for this use case 😅 |
Oftentimes, parentRef will have value
undefined
at first render. This breaks withTypeError: Cannot read property 'scrollTop' of undefined
in react-virtual 2.2.4 and above. It works fine in 2.2.3.See for example: https://codesandbox.io/s/trusting-shamir-05gpx
Changing to react-virtual 2.2.3 fixes it.
The text was updated successfully, but these errors were encountered: