Skip to content

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

Description

@ChrisMcKenzie

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

Activity

  1. ebidel commented on Jul 25, 2014

    @ebidel
    Contributor

    Please provide a way to repo this.

  2. ChrisMcKenzie commented on Jul 25, 2014

    @ChrisMcKenzie
    Author

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

  3. akashkrishnan commented on Jul 28, 2014

    @akashkrishnan

    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...

  4. sorvell commented on Aug 12, 2014

    @sorvell
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions