niikeec / virtual-grid Goto Github PK
View Code? Open in Web Editor NEWSimplified virtualization using @tanstack/virtual.
Home Page: https://www.virtual-grid.com
License: MIT License
Simplified virtualization using @tanstack/virtual.
Home Page: https://www.virtual-grid.com
License: MIT License
would you consider adding support for rtl
mode in Grid
?
I'd be happy to send a PR
First of all, thanks for the amazing job done here, this lib is super helpful!
I have one question though, how do I attach the scroll to the window element? On @tanstack/react-virtual grid we can do that by using useWindowVirtualizer
but I didn't find a way to achieve the same here, given that the scrollRef
param is required too, I'm unsure how to achieve that. Is that possible?
Thanks for the great library. I think there will need to be an option to support different screens. For example, for desktop computers there will be 5 columns, for tablets there will be 3 columns, for mobile devices there will be 2 columns.
Hi, thanks for this great package. What is considered the appropriate way to implement responsive grid designs? I have experimented with dynamically changing the column number prop as the viewport changes size, but I'm not convinced in this approach. I would suspect this could be a common need and I'd like to know what the conventional wisdom is here? It doesn't appear feasible or correct to apply a grid wrapper with typical tailwind classes, for example, as the immediate child needs to be the grid items for virtualisation to work as intended.
Any help on achieving this would be greatly appreciated, I am attempting to extend the infinite scroll example with Tanstack Query, which is working, but I'm struggling with the markup. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.