-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Testing #454
Comments
I'm having the same issue. At first I thought it was because I wasn't mocking |
Same problem here with Maybe we should use the original @bvaughn |
did you try to mock autoSizer |
but why I need to mock that? I try to understand whats the different between the "original" AutoSizer to the one that exists in separate library ? |
there is a condition to prevent children from rendering if width or height are 0 since we are using jest-dom for testing the calculation will never happen and height and width will be always 0. in the original AutoSizer this condition doesn't exist so the children will always render. |
@haithemT get you, thanks for that! What do you think? |
honestly i'm using this library from it first release and till now i didn't encounter any blocking issues, i tried some other new libraries but none of them was performant like this one. |
I have implemented infinite scroll with your libraries (
react-window
,react-window-infinite-loader
) according to guides and it works fine, but there is a problem with testing. When I tried to test my component I ran into problem that there is nothing insideFixedSizeList
. I haven't found anything about testing in the docs. Is it a bug or I missed something?Here is codesandbox
The text was updated successfully, but these errors were encountered: