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

Wrong placement on last elements #36

Open
lucianobosco opened this issue Mar 22, 2022 · 1 comment
Open

Wrong placement on last elements #36

lucianobosco opened this issue Mar 22, 2022 · 1 comment

Comments

@lucianobosco
Copy link

lucianobosco commented Mar 22, 2022

First of all, I want to thank you for this amazing plugin!

"vue-masonry-css": "^1.0.3",
"vue": "^2.6.14"

This is my first implementation and I'm facing a small issue with pictures location at my very bottom page. Not sure why so any clue will be appreciated.

https://pasteboard.co/dQBK6LKqfge6.png

The implementation looks like

<masonry 
      :cols="{default: 5, 1000: 3, 700: 2, 400: 1}"
      :gutter="{default: '20px', 700: '15px'}">
     
      ................
</masonry>

The bottom image is the latest one loaded from a paginated request. I'm wondering why it's placed in that column since there are few slots where it can be easily placed, such right column.

As far I see, this is not related to CSS since the image element is explicitly placed on the 2nd column. Also by removing pagination or fetching all images at once the issue persists.

Thanks in advance

@FlorianB83
Copy link

Hello :),
I have the same problem. Did you a find a solution ?
thanks for your reply

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