google / google/material-design-lite

[Violation] Long running JavaScript task took 226ms in Chrome

Open
#5,038 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

There's a violation warning caused by `material.min.js`

![hqaptkm](https://cloud.githubusercontent.com/assets/4027731/23097938/80850066-f5f6-11e6-9d95-6e622578c063.png)

> What MDL Version are you using? (please be specific, e.g. _major.minor.patch_)

1.3.0

> What browser(s) is this bug affecting (including version)?

Chrome 56

> What OS (and version) are you using?

macOS Sierra

> What are the steps to reproduce the bug? Can you create a plunker/codepen/jsfiddle which reproduces it?

Adding the script tag to `index.html` results in a violation warning in Chrome

```

```

> What is the expected behavior?

No violation warning

> What is the actual behavior?

Shows violation warning

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.