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

Error Maximum call stack size exceeded with ngIf: isOpen && showPicker == 'date' #230

Closed
tinhnqjp opened this issue May 30, 2019 · 6 comments

Comments

@tinhnqjp
Copy link

I have this error, I don't know how to solve it. Please help me
bower.json:

"jquery": "^3.2.1",
"bootstrap-ui-datetime-picker": "^2.6.3",

Error:

RangeError: Maximum call stack size exceeded
    at String.replace (<anonymous>)
    at V (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:32102)
    at Y.set (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:32478)
    at De (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:39700)
    at Comment.setup (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:45769)
    at Object.add (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:41002)
    at De (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:39720)
    at Comment.setup (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:45769)
    at Object.add (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:41002)
    at De (http://localhost:3000/lib/jquery/dist/jquery.min.js:2:39720) 
<!-- ngIf: isOpen && showPicker == 'date' -->
@Semkoo
Copy link

Semkoo commented Jun 3, 2019

I am receiving the same error with "jquery": "3.4.1",

@TchaixNC
Copy link

TchaixNC commented Jul 2, 2019

This error disepear with jquery 3.3.1 and bootstrap-ui-datetime-picker 2.6.3

@Semkoo
Copy link

Semkoo commented Jul 11, 2019

This error disepear with jquery 3.3.1 and bootstrap-ui-datetime-picker 2.6.3

Nope, it still appears for me

@hosing-lee
Copy link

hosing-lee commented Jul 23, 2019

Here we are using angular 1.7.7, jquery 3.4.1, bootstrap 3.4.1 and we are also facing the same issue. I have noticed that when I change ng-if to ng-show then it works correctly

Lowering the jquery version to 3.3.1 it works fine. Problem starts with jquery version 3.4.0

Issue can be reproduced with the exampl/index.html using the following libraries in the header:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.7/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.2.0/ui-bootstrap-tpls.js"></script>

@dwwinters
Copy link

The commit that fixed this issue did not include a rebuild of the dist directory. It also hasn't been included in a new release.

@dwwinters
Copy link

I saw a new release came out that includes the fix. Thank you!

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

5 participants