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 + Infinite scroll: masonry error. #1044

Closed
ieraora opened this issue Apr 16, 2018 · 7 comments
Closed

Masonry + Infinite scroll: masonry error. #1044

ieraora opened this issue Apr 16, 2018 · 7 comments

Comments

@ieraora
Copy link

ieraora commented Apr 16, 2018

Hi, If I launch this https://codepen.io/ieraora/pen/xWomYj for first time (debug mode, for example), masonry don't work fine. Why? Thanks
screenshot 2018-04-16 08 54 24

@amirouche-g
Copy link

Hello, I tested and it's working, maybe because of your browser (delete the cache)

@ieraora
Copy link
Author

ieraora commented Apr 16, 2018

Isn't a problem of cache. I tested it also with an anonymous window

@ieraora
Copy link
Author

ieraora commented Apr 16, 2018

If I add gutter, I haven't problem (https://codepen.io/ieraora/pen/rdXMjy). But I need gutter= 0.

@amirouche-g
Copy link

capture

@ieraora
Copy link
Author

ieraora commented Apr 16, 2018

If I assign gutter=0, in preview of codepen is correct, but if you CHANGE VIEW in DEBUG MODE, this is my view
screenshot 2018-04-16 11 12 03

@desandro
Copy link
Owner

Could this be caused by the scroll bar? Try adding html { overflow-y: scroll; } to your CSS.

@ieraora
Copy link
Author

ieraora commented Apr 16, 2018

now it's OK. Thanks

@ieraora ieraora closed this as completed Apr 16, 2018
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

3 participants