Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant