vue-masonry-wall icon indicating copy to clipboard operation
vue-masonry-wall copied to clipboard

If props pass a new items array the wall falls with item not found

Open moetun88 opened this issue 4 years ago • 1 comments

If a parent element passes in an entirely new array (props) the masonry wall does not redraw

In an implementation which isn't auto loading via append simply watching for items and redrawing is a workaround. watch: { items(){ this.redraw() }
},

Perhaps an additional flag to indicate between the two types of updates items can experience?

moetun88 avatar Aug 08 '20 04:08 moetun88

Yes i'm experiencing the same issue, as soon as my (store) items array changes the masonry wall collapse in to an error. Does looks very promising tho!

forrust avatar Dec 17 '20 14:12 forrust