Open maxpatiiuk opened 2 years ago
@CarolineDenis did research on this and faced some obstacles. Feel free to write down the things you found before we forget for future reference.
A summary from what I can remember: Virtual scrolling libraries are still not very satisfactory - they add too many constraints:
<div>
instead of <tr>
- thus making this almost unusable for tables)Thus, for now a better solutions are (depending on which is more applicable):
Paginator component created in this PR: https://github.com/specify/specify7/issues/1398
Fixed by #3195
i.e, when CSIRO was complaining about poor performance for large pick lists, or when @grantfitzsimmons was complaining about poor autocomplete performance when doing search with a single character - both of those could be partially solved by adding virtual scrolling library or a similar solution
Need to add a react virtual scrolling library to improve rendering performance.
Can be used in the following places:
Probably there are many other places where this would be applicable. Though, in some places explicit pagination would make more sense. See https://github.com/specify/specify7/issues/1398