kombai / freewall

Freewall is a cross-browser and responsive jQuery plugin to help you create grid, image and masonry layouts for desktop, mobile, and tablet...
MIT License
1.85k stars 375 forks source link

wrong cell order on Phone cell #108

Closed onigetoc closed 10 years ago

onigetoc commented 10 years ago

Hi, i like FreeWall but i found out that cells order are not the same on mobile. When i resize my desktop browser to 400px width its fine, the order are still good but smaller to 400px width the order become like random.

It's not usefull when for exemple you want to show news or pictures in the right order.

At 400px and more everything perfect but at 398px and less the order is wrong.

I use a random class like one of the FreeWall exemple like .size32, .size23 ect..

kombai commented 10 years ago

Hi, Freewall haven't keep the order yet, because the main purpose is fill gaps on the wall. Btw if you want to keep the order you can set the fixSize option is: 1. Thanks

onigetoc commented 10 years ago

but like i said, at 400px width, the order is alway good, but at 398px and less it lost order. if i resize from 420px to 400px for exemple, the cell do not move, they just becoming smaller, but if i go to 398px and less, order change.

onigetoc commented 10 years ago

I'm still waiting for a answer. It may be when it's smaller than 382px that the order is lost since i tested it with 8px padding.

kombai commented 10 years ago

You can decrease the cellW a bit. ex right now you I guest you set: 320px, just cut down to 316px;

onigetoc commented 10 years ago

ok, i will check, i did take the .size32, .size23 ect.. exemple with the css way.