react-native-masonry-list icon indicating copy to clipboard operation
react-native-masonry-list copied to clipboard

Columns are unaligned from bottom when height of the images are not equal

Open aliasad106 opened this issue 2 years ago • 6 comments

it seems like it just distributes number of items equally and doesn't take their heights in consideration. I think it should make the distribution with respect to height. Screenshot_20210827-171627

aliasad106 avatar Aug 27 '21 12:08 aliasad106

Looks like we need extra work on organizing sizes in the array then check the current total height before adjusting the height of element.

The idea can be when adjustRespectiveHeight prop is true, we can have that.

hyochan avatar Aug 27 '21 12:08 hyochan

@hyochan in our scenario we have width/heights of each element already in our array. Our requirement is only 2 columns so may we can pre-sort it according to that but in multi-column that would be overhead.

aliasad106 avatar Aug 30 '21 04:08 aliasad106

@aliasad106 We can try!! However, I am sorry that I have really busy days until Oct 17th 😢

hyochan avatar Sep 19 '21 06:09 hyochan

Thanks for this lib, works great! I'd also love to see this feature added if possible

ruairioliverwv avatar Jan 26 '22 11:01 ruairioliverwv

Same here, lacking this feature is a show stopper for me.. the longer the list gets the more unbalanced it can become :(

elliotsayes avatar Sep 22 '22 03:09 elliotsayes

Same issue here, this issue block me :/

thefranfran avatar Jun 09 '23 07:06 thefranfran