Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: chrome/browser/resources/settings/search_engines_page/search_engines_list.js

Issue 2805213003: MD Settings: make iron list offset so items render onscreen (Closed)
Patch Set: use offsetTop Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/search_engines_page/search_engines_list.js
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engines_list.js b/chrome/browser/resources/settings/search_engines_page/search_engines_list.js
index 42e776b244884c524a25bdffdedcf5e84a99b4af..01c6ddcb2647fecaa83a38b8e69577e164e8f3c7 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engines_list.js
+++ b/chrome/browser/resources/settings/search_engines_page/search_engines_list.js
@@ -25,6 +25,9 @@ Polymer({
value: null, // Required to populate class.
},
+ /** Used to fix scrolling glitch when list is not top most element. */
+ scrollOffset: Number,
+
/** @private {Object}*/
lastFocused_: Object,
},

Powered by Google App Engine
This is Rietveld 408576698