Nested icon indicating copy to clipboard operation
Nested copied to clipboard

Crashing mobile browsers

Open ghost opened this issue 11 years ago • 7 comments

I've tried to use the grid but in crashes my browser on iPhone/iOS7/Safari and freezes Chrome browser on Samsung Note. Also I tried to access plugin's home page: http://suprb.com/apps/nested/ and it does the same thing.

Is it a known issue?

ghost avatar May 14 '14 09:05 ghost

Hi, the plugin is awesome and works really good on desktop version, but it crashes on my iPhone5/iOS 7.1.1 too ... By the moment I'm using a redirection to show it differently for the phone, but I would like to make it work... You can take a look at: http://www.mardelcoral.com It would be great if we can fix it! Thanks!

dumearts avatar May 21 '14 04:05 dumearts

I'm getting the same problem - iOS7, Safari. Demo page crashes the browser.

grvhi avatar Jun 01 '14 09:06 grvhi

Didn´t solve the main problem, but i get the script to stop crashing on small resolutions.

The problem is in the Loop in line 294. I just used the Variable tot which is declared in line 278 and never used again? Maybe this was a problem at all? Anyway i just modify/add these lines in line 294/295:

        while (true && tot < 20) {
            tot++;
            ...

dunno it has to be 20 or less .. but im tired right now and it works :-)

have a nice day!

krachim avatar Jun 25 '14 15:06 krachim

I tried that and it did not fix the problem. It is crashing in iOS Safari for me as well.

jkirklen avatar Aug 05 '14 18:08 jkirklen

@risingope it works, thanks

karuna avatar Aug 21 '14 10:08 karuna

It's not just mobile browsers that are crashing. Chrome, Safari, and Firefox on desktop all crash when the viewport or nested container are too narrow.

eablokker avatar Sep 18 '14 21:09 eablokker

Solved at here https://github.com/suprb/Nested/issues/48

testuserlove avatar Jan 16 '15 18:01 testuserlove