We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Click on promary buttons. The items render only when scroll the list
All items should render when resize.
Look at screenshot
The text was updated successfully, but these errors were encountered:
Seems virtual list not update when height quick switch from 0 to another number.
0
Sorry, something went wrong.
VirtualList update its logic by componentDidUpdate. Which breaks its states when async update on the height prop. It may not easy to fix this or we may need refactor with hook instead: https://github.com/react-component/virtual-list/blob/7aae9e0273d9d859106cf4fe3ecae8f69c70d9a3/src/List.tsx#L196
componentDidUpdate
height
Mentioned component has been refactored for now.
No branches or pull requests
Reproduction link
Steps to reproduce
Click on promary buttons. The items render only when scroll the list
What is expected?
All items should render when resize.
What is actually happening?
Look at screenshot
The text was updated successfully, but these errors were encountered: