@smeijer one of the benefits of not having having the images in row elementes I think!
possibly @neptunian , the demo looks awesome :)
hi, is it possible to change the layout of Gallery?
@pzoli1988 what do you have in mind
the only thing that can change really are the amount of columns.
@neptunian When resizing that sortable example in codesadbox.io I got this: Invariant Violation Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
@mpartipilo thanks i'll do some testing. i've thought about putting a debounce on the window resize but i like how it looks like its animating when you resize it! not really necessary to let it call so many times though.
Hello guys, wanted to ask if there was any way I could pass in the aspect ratio for the set of photos given to the Gallery component
@FredEb that's what width and height are for
Hey all - does anyone have tips for limiting the maximum height of the Gallery container?
@FredEb that's all height and width attributes are provided for. the code determines the aspect ratio based on those attributes or you can just pass in 1, 3 or whatever your ratio is... it's the same thing.