Giter Site home page Giter Site logo

Comments (2)

samuel-messing avatar samuel-messing commented on May 28, 2024

Also... thank you for this project! It's super easy to use and well documented. Kudos.

from react-viewport-list.

oleggrishechkin avatar oleggrishechkin commented on May 28, 2024

Hi, @samuel-messing
Thank you for your warm feedback.

At this moment I have not a good solution to multi column in all cases.

The best solution at this moment for me is to chunk items by number of columns and render rows (where row is a 2/3/4 column and so on). It will be work good if you have a fixed number of columns (I mean not a hundred+). And you can utilise this solution to adaptive layout via media match from js code.

If you want to virtualize x and y axis at the same time... well, you can create a viewport of columns where each column is a viewport list of rows. You should chunk items by your side too.

I think I can support flex wrapping/or grid columns in the future. But this will be not a both axis virtualization, just support for several grid columns and flex-wrap (which can be used to multicolumns by css flex layout)

from react-viewport-list.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.