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..add9e083a352b6a4763c26b6774a7621984f2505 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,9 @@ Polymer({ |
attached: function() { |
this.$.dialog.showModal(); |
+ // Fire iron-resize after the list initially displays to prevent flickering. |
+ var list = this.$$('iron-list'); |
+ setTimeout(list.fire.bind(list, 'iron-resize')); |
Dan Beam
2016/09/23 23:25:42
setTimeout(function() {
this.$$('iron-list').fir
michaelpg
2016/09/28 23:24:29
Done.
|
}, |
/** |