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

Specifying gutter in HTML data-masonry attribute isn't respected #1175

Open
sosherof opened this issue Sep 20, 2022 · 0 comments
Open

Specifying gutter in HTML data-masonry attribute isn't respected #1175

sosherof opened this issue Sep 20, 2022 · 0 comments

Comments

@sosherof
Copy link

When auto-initializing via the data-masonry attribute, the gutter option doesn't seem to work. See my code pen where I've specified the gutter in the attribute. When you resize, the space between tiles seems to be random, sometimes zero space.

In my code pen, comment out the first call to masonry and uncomment the second where the gutter is passed as an option in the call. That works fine.

https://codepen.io/osheros/pen/WNJOQJd

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

1 participant