Index: chrome/browser/resources/settings/languages_page/add_languages_dialog.js |
diff --git a/chrome/browser/resources/settings/languages_page/add_languages_dialog.js b/chrome/browser/resources/settings/languages_page/add_languages_dialog.js |
index 146744003f04ef9a38f39c6ccce32120fa0f772d..43457ca2e1fc70b736c2fdaaf1e4733845e9be1e 100644 |
--- a/chrome/browser/resources/settings/languages_page/add_languages_dialog.js |
+++ b/chrome/browser/resources/settings/languages_page/add_languages_dialog.js |
@@ -34,6 +34,10 @@ Polymer({ |
attached: function() { |
this.$.dialog.showModal(); |
+ // Fire iron-resize after the list initially displays to prevent flickering. |
+ setTimeout(function() { |
+ this.$$('iron-list').fire('iron-resize'); |
+ }.bind(this)); |
}, |
/** |