marcolago / flowtime.js

Flowtime.js HTML5/CSS3/JS Websites and Presentation Framework
https://marcolago.github.io/flowtime.js/
MIT License
1.34k stars 237 forks source link

Demo page crashes on Ipad Air #52

Closed atulbanwar closed 8 years ago

atulbanwar commented 8 years ago

I was checking out the demo website of flowtime.js "http://flowtime-js.marcolago.com/" on Ipad Air (IOS 8.0). I am using google chrome (V43.0.2357.56).

It works mostly fine when I slide through pages. But when I move across pages using the navigation grid boxes (which is located at the right bottom corner of the page), chrome crashes after some time. I can reproduce this scenario repeatedly.

Sometimes I move across 2-3 pages using navigation grid and starts to slide pages again, chrome crashes again. This scenario happens very rarely. I observed this only once or twice.

(Pardon me for using the word 'Navigation grid' as I don't know what it is called. I hope the reader will understand what I am referring at)

marcolago commented 8 years ago

Hi @atulbanwar. Sorry for the late.

I've tested the demo on different iPads but I’ve never experienced crashes. Anyway, it could be a memory issue so could you please try a version where I’ve removed all the images (except the logo in the first page) and let me know if still crashes?

Here the link to the demo: http://flowtime-js.marcolago.com/examples/no-images/

Thanks. marcolago

atulbanwar commented 8 years ago

Hi @marcolago,

Thanks for the reply.

I tested this new link without images. Apparently this does not crash. So I guess you are right, it could be a memory issue.

But does this mean I cannot include heavy images (or controls with large amount of data)? Is there any way to handle these crashes?

Could you please look into this a little. I will continue working on it at my end as well.

Thanks, Atul Kumar Banwar

marcolago commented 8 years ago

Maybe you could try to lazy load the images only when needed or to load a low resolution version of images and then switch to the full version only when you go to the current page.

I’ll investigate on why the problem is present on a new iPad and not on an old iPad 2.

Let me know if you can try the lazy load solution. Thanks marcolago

atulbanwar commented 8 years ago

yes lazy loading is one good option, it's just that it wont look good to load the images (or other control's data) after you move to the slide. It will kinda steal the effect.

Also, I went through a couple of posts and it seems the problem is with iPad Air. The Air's 64 bit program consume significantly more RAM as compared to the previous models.

Anyways, I will let you know if I decide to go with lazy loading and if it still crashes.

Thanks a lot, Atul :)