Im trying to have a dynamic array of references. These references would come from the Grid items, that are being mapped from a list to the Grid Layout-Element. This is my code: It seems like the “ref”-attribute gets ignored from react, because none of the grid items refs are being pushed into the refs-array The ref-attribute works just fine for
Tag: react-grid-layout
Limiting containers to three fixed sizes
I’m looking at the react-grid-layout which is based on Material Design’s 12 column grid. Is there a way to provide pre-defined sizes for containers to stick to the following 3 sizes: 1 full width (12 cols), half grid (6 cols) or 1/3 grid (4 cols)? Sandbox Answer My guess is that when you say container, you’re referring to the layout