I'm calculating the container and divs width and height before rendering masonry, but they only arrange correctly on a state change. Initially they're arranged stacked on top of eachother.
Is there any reason for this? Not sure if the fault lies with how I'm using React or Masonry atm.
Hi
I'm calculating the container and divs width and height before rendering masonry, but they only arrange correctly on a state change. Initially they're arranged stacked on top of eachother.
Is there any reason for this? Not sure if the fault lies with how I'm using React or Masonry atm.