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

[Violation] Long running JavaScript task took 211 ms #116

Open
7 tasks
dman777 opened this issue Feb 23, 2017 · 0 comments
Open
7 tasks

[Violation] Long running JavaScript task took 211 ms #116

dman777 opened this issue Feb 23, 2017 · 0 comments

Comments

@dman777
Copy link

dman777 commented Feb 23, 2017

Description

paper-menu-button causes chrome warning [Violation] Long running JavaScript task took 211 ms

Browsers Affected

  • [x ] Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

I've narrowed down my code to this paper-menu-button causing this warning:

        <paper-menu-button>
          <paper-button class="dropdown-trigger" raised>
            <iron-icon icon="visibility"></iron-icon>&nbsp&nbsp
            <span>View By</span>
          </paper-button>
          <paper-menu id="viewMode" class="dropdown-content" 
             selected="0">
            <paper-item>foo</paper-item>
            <paper-item>foo</paper-item>
            <paper-item>fooe</paper-item>
            <paper-item>foo</paper-item>
            <paper-item>fooage</paper-item>
            <paper-item>foo</paper-item>
          </paper-menu>
        </paper-menu-button>

If I remove this, the warning goes away.

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

1 participant