Skip to content

Wrong placement on last elements #36

@lucianobosco

Description

@lucianobosco

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions