Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on mobile and firefox, infinite loop #30

Open
badpenguin opened this issue Dec 5, 2013 · 2 comments
Open

crash on mobile and firefox, infinite loop #30

badpenguin opened this issue Dec 5, 2013 · 2 comments

Comments

@badpenguin
Copy link

I checked the code and found this infinite loop
i added a watchdog to avoid the problem but still the bug exists
in _renderGrid at line 295

$maxloop = 1000;
while ($maxloop>0) {
$maxloop--;
if(this.columns === col) {
this.columns++;
}

@rtklwm
Copy link

rtklwm commented Feb 19, 2014

EDIT: Sorry, I didn't realize these other threads were discussing this.
#21

My implementation crashes any browser when I narrow that browser to ~576px or less. My minWidth is 180, minColulmn =1. This makes the issue obvious in phones, portrait view.

I found that http://suprb.com/apps/nested/ does the same thing, although maybe at a narrower width.

I wasn't sure what was going on until I tried in Firefox, which prompts a "Warning: Unresponsive script" and "Script: http://suprb.com/apps/nested/js/jquery.nested.js:295" like the OP noted.

@testuserlove
Copy link

Try as explained here.
#48
This works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants