-
Notifications
You must be signed in to change notification settings - Fork 43
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
Virtualize dropdown options list #284
Virtualize dropdown options list #284
Conversation
…g lists Use `react-virtuoso` to virtualize the option items in the dropdown. This is done to reduce the amount of time to render the initial view and process updates. fix Headstorm#184
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2c9c7a0:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only other thing is if we can simulate and test the virtualization (we should be able to use the same mock class/function that Harrison is using for the flippy floppy dropdown)
🎉 This PR is included in version 1.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Uses react-virtuoso to set up a windowed options list container that can handle items with variable, dynamic height. This is an apparently complicated problem that required a complicated solution, and custom logic to avoid this dependency could take a while to put together.
Closes #184