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

Page using Freewall slow loading on iOS #66

Open CUWebdevelop opened 10 years ago

CUWebdevelop commented 10 years ago

I have a freewall page with 22 elements takes a long time (36s) to load on iOS (iPad 2, iPad mini) with chrome and safari browsers.

debugging shows it hanging on: engine[setting.engine](activeBlock, setting); when fitWidth() is called.

Desktop is essentially unaffected, android shows no signs either.

freewall is called with:

var wall = new freewall(".ImgGallery"); wall.reset({ selector: '.GalleryItem', animate: true, fixSize: 1, cellW: 5, cellH: 5, gutterY: 20, gutterX: 20, onResize: function() { wall.refresh(); } });

wall.fitWidth();
kombai commented 10 years ago

Hi, Could you leave a link for check.

CUWebdevelop commented 10 years ago

Unfortunately, I can't as it is on our non-public beta page. Is there any information I can give you to help?

On Fri, Mar 28, 2014 at 11:59 PM, Minh Nguyen notifications@github.comwrote:

Hi, Could you leave a link for check.

Reply to this email directly or view it on GitHubhttps://github.com/kombai/freewall/issues/66#issuecomment-38986191 .

Joshua Erlandson Web Design/Developer, Cedarville University 251 N. Main Cedarville. OH 45314

CUWebdevelop commented 10 years ago

The iPad 2 seems to have issue with the small cell size. I adjusted the cell size up to 25 now load times went from 60s to around 4.

On Tue, Apr 1, 2014 at 8:56 AM, Erlandson, Joshua < jrerlandson@cedarville.edu> wrote:

Unfortunately, I can't as it is on our non-public beta page. Is there any information I can give you to help?

On Fri, Mar 28, 2014 at 11:59 PM, Minh Nguyen notifications@github.comwrote:

Hi, Could you leave a link for check.

Reply to this email directly or view it on GitHubhttps://github.com/kombai/freewall/issues/66#issuecomment-38986191 .

Joshua Erlandson Web Design/Developer, Cedarville University 251 N. Main Cedarville. OH 45314

Joshua Erlandson Web Design/Developer, Cedarville University 251 N. Main Cedarville. OH 45314

kombai commented 10 years ago

Sorry I didn't notify to you, the cellW must bigger than the gutterX. (similar the cellH)