Chromium Code Reviews| Index: chrome/browser/resources/settings/settings_main/settings_main.js |
| diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js |
| index 27a07401995eb905a2e33c392078ebbdb7222b34..fe689f8fc18fcc978a72196cd2989f7b950673b7 100644 |
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js |
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js |
| @@ -188,7 +188,10 @@ Polymer({ |
| } |
| } |
| - // Wait for any other changes prior to calculating the overflow padding. |
| + // Calculate the overflow padding. |
| + this.setOverscroll_(this.overscrollHeight_()); |
|
dschuyler
2016/09/08 21:00:37
I added some logging to see how often this call
ha
|
| + |
| + // Wait for any other changes, then calculate the overflow padding again. |
| setTimeout(function() { |
| // Ensure any dom-if reflects the current properties. |
| Polymer.dom.flush(); |