-
Notifications
You must be signed in to change notification settings - Fork 496
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
navmenu: Maximum call stack size exceeded #495
Comments
@mcardia I tested this and do not see an error. Tested in Crome (56.0.2924.87) and Firefox (53.0a2). |
https://jsfiddle.net/mcardia/06308d4j/3/ Happens with Chrome. On Firefox it works. |
Might have to do with finding fixed positioned elements. |
Stumbled across this bug while working on a project using a bootstrap template, which depends on this extension to upload files. |
This error happens on toggle the navmenu.
<nav class="navmenu navmenu-default navmenu-fixed-left offcanvas">
The toggle code:
<li><a class="navbar-link" class="navbar-toggle" data-toggle="offcanvas" data-recalc="false" data-target=".navmenu" data-canvas="body"><i class="fa fa-tasks" aria-hidden="true"></i></a></li>
It´s only happens when the container (body) is big. I have a table there. If the table has few rows it works, but if the table has a lot of rows (>1300) it raises this error.
Any tips?
RangeError: Maximum call stack size exceeded
/gci/js/jquery.min.js:2 ga.select()
/gci/js/jquery.min.js:2 Function.ga as find
/gci/js/jquery.min.js:2 r.fn.init.find()
/gci/bootstrap/js/jasny-bootstrap.min.js:6 b.getCanvasElements()
/gci/bootstrap/js/jasny-bootstrap.min.js:6 b.show()
/gci/bootstrap/js/jasny-bootstrap.min.js:6 b.toggle()
/gci/bootstrap/js/jasny-bootstrap.min.js:6 new b()
/gci/bootstrap/js/jasny-bootstrap.min.js:6 HTMLDivElement.()
/gci/js/jquery.min.js:2 Function.each()
/gci/js/jquery.min.js:2 r.fn.init.each()
The text was updated successfully, but these errors were encountered: