Ordering of images in masonry / rows layout #171
-
I currently have a requirement to have the images sorted by a date field, but it looks like neither the rows layout or the masonry layout arrange the images according to the order of the array provided. This behavior is completely understandable as rearranging the images to fill space seems to be one of the main purposes of this library. Is it possible to have either of these layouts sorted or should I just create my own layout with css grid / flexbox? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That’s not actually the case when you use |
Beta Was this translation helpful? Give feedback.
That’s not actually the case when you use
rows
layout. In rows layout the photos are arranged in the exact order they are provided in thephotos
array. Can you take another look at the rows layout?