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 2fb914da04ac94fa56f159a5dc1cd7824edc2d85..49397d85763e019f8ec3de52b9e70d4b0cde7833 100644 |
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js |
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js |
| @@ -85,6 +85,13 @@ Polymer({ |
| /** @override */ |
| attached: function() { |
| this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); |
| + this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); |
| + }, |
| + |
| + /** @private */ |
| + onLazyLoaded_: function() { |
| + Polymer.dom.flush(); |
|
Dan Beam
2017/03/18 00:15:51
should we be doing this only in certain cases?
Dan Beam
2017/03/18 00:41:06
we probably should, but let's just see if anybody
dpapad
2017/03/20 20:34:55
Ok.
|
| + this.updateOverscrollForPage_(); |
| }, |
| /** @override */ |