Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masonry only aligns divs correctly after state change #2

Open
jasecoop opened this issue Aug 21, 2015 · 1 comment
Open

Masonry only aligns divs correctly after state change #2

jasecoop opened this issue Aug 21, 2015 · 1 comment

Comments

@jasecoop
Copy link

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.

@eiriklv
Copy link
Owner

eiriklv commented Aug 25, 2015

Hey @jasecoop! Do you have an example/demo which produces this bug? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants