Open minorninth opened 6 years ago
I agree.
One more example : Pinterest : multi columns of photos (each photo having its own height). Would be great to be able to distribute photos on that N-columns easily.
I have a virtual scroller implementation, however, it's more robust. The main problem is backward infinity. You need to trick the browser, however, it's the most commonly used app. (chat - backward history) You need also at rotation to stay the position in place.
For the record, we've captured the layouts that are in-scope vs. out-of-scope for the initial work in https://github.com/valdrinkoshi/virtual-scroller#goals . We can use this issue to track post-MVP work on more ambitious layouts like spreadsheets or masonry.
If we want wide adoption of this pattern, it'd be nice if there was a way to extend it to at least 2 dimensions - think something like a spreadsheet or a map of tiles or some other virtually infinite 2-dimensional structure.