react-masonry-layout
react-masonry-layout copied to clipboard
Unable to readjust all the bricks in the grid container
When we resize the window i need to adjust the number of column of my masonry.
Do you mean it doesn't work when you resize window ?
its is possible to recalculate the number of columns dynamically when you change the width of the window or parent container.
Sorry for delay. So you need an other api to readjust bricks manually ?
Yes
Now you can call getBricksInstance to get the bricks.js instance. Do whatever you want with it.