PolymerElements / paper-dialog

A Material Design dialog
https://www.webcomponents.org/element/PolymerElements/paper-dialog
63 stars 41 forks source link

Perf: paper-dialog costs too much to use (130KB) #118

Open ebidel opened 8 years ago

ebidel commented 8 years ago

I added paper-dialog to chromestatus.com and it increases page load by 130KB. We should try to slim that down.

There are a lot of deps. One obvious one is to remove web animations. The polyfill alone is 50kb and should be feature detected + lazy loaded. Better would be to do the transitions in pure css. The iron overlay and fit elements also add a decent weight.

abdonrd commented 8 years ago

Also, the paper-dialog import the Roboto font:

paper-dialog-shared-styles.html > paper-styles/typography.html > font-roboto/roboto.html

jpodwys commented 7 years ago

Will there be any update on this?

ymaz commented 6 years ago

up