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

RangeError: Maximum call stack size exceeded. On Safari 7.0.5 #656

Closed
ChrisMcKenzie opened this issue Jul 25, 2014 · 4 comments
Closed

RangeError: Maximum call stack size exceeded. On Safari 7.0.5 #656

ChrisMcKenzie opened this issue Jul 25, 2014 · 4 comments

Comments

@ChrisMcKenzie
Copy link

I am receiving a "Maximum call stack size exceeded" error originating from events.js:638

@ebidel
Copy link
Contributor

ebidel commented Jul 25, 2014

Please provide a way to repo this.

@ChrisMcKenzie
Copy link
Author

I can't seem to narrow it down to any one event being fired. it happens right when polymer loads.

@akashkrishnan
Copy link

I am getting a similar error:

Uncaught RangeError: Maximum call stack size exceeded polymer.js:1
Object.defineProperty.get polymer.js:1
Polymer.getFocusNode core-overlay.html:431
Polymer.applyFocus core-overlay.html:435
focusOverlay core-overlay.html:641
Polymer.applyFocus core-overlay.html:440
focusOverlay core-overlay.html:641
Polymer.applyFocus core-overlay.html:440
...

I'll try to come up with some sample code. I think the issue regards conditional templates.

<template if="{{showTmpl1}}">
  <paper-button label="Can click this button!"></paper-button>
</template>

<template if="{{showTmpl2}}">
  <paper-button label="Cannot click this button!"></paper-button>
</template>

Let's say when button in tmpl1 is clicked, showTmpl1 gets set to false and showTmpl2 gets set to true. Once the views change, I am unable to interact with any elements, and following some delay, receive an exception...

@sorvell
Copy link
Contributor

sorvell commented Aug 12, 2014

The stack trace is related to an infinite loop in core-overlay that was fixed at googlearchive/core-overlay@9588c61.

Please re-open this if it's still a problem. Providing an test case in the form of a repo link, a jsbin, or a gist would be extremely hlelpful.

@sorvell sorvell closed this as completed Aug 12, 2014
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

4 participants