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

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

Issue 2949873003: MD Settings: add 'preserve-focus' flag to fix iron-list focus bugs. (Closed)
Patch Set: remove debug code Created 3 years, 6 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.html
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engines_list.html b/chrome/browser/resources/settings/search_engines_page/search_engines_list.html
index 7d71e83bc41dd2f7890d179edb1a174afc1bee84..0b74c3f50bd751481b0d7251c714c7ddc63e0785 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engines_list.html
+++ b/chrome/browser/resources/settings/search_engines_page/search_engines_list.html
@@ -58,7 +58,7 @@
class$="scroll-container [[getHeightClass(scrollTarget)]]"
scrollable$="[[isScrollable(scrollTarget)]]">
<iron-list items="[[engines]]" scroll-target="[[scrollTarget]]"
- scroll-offset="[[scrollOffset]]">
+ scroll-offset="[[scrollOffset]]" preserve-focus>
<template>
<settings-search-engine-entry engine="[[item]]"
tabindex$="[[tabIndex]]" iron-list-tab-index="[[tabIndex]]"

Powered by Google App Engine
This is Rietveld 408576698