[MD Settings] Only first 500 search engines displayed |
||||
Issue descriptionSimilar to Issue 654738 , affects: chrome://md-settings/searchEngines Steps to reproduce: 1. Navigate to chrome://md-settings/searchEngines 2. Have more than 500 search engines var seproxy = settings.SearchEnginesBrowserProxyImpl.getInstance(); for (var i = 1; i <= 1000; ++i) { seproxy.searchEngineEditStarted(-1); seproxy.searchEngineEditCompleted('_' + i, '_' + i, '_' + i); } 3. Scroll past 500 Expected to see more search engines, only seeing 500.
,
Oct 28 2016
,
Nov 1 2016
What is the relationship of this fix and the CrScrollableBehavior? Before this CL search_engines_list element was implementing CrScrollableBehavior and was suffering by https://bugs.chromium.org/p/chromium/issues/detail?id=657336. Now it no longer uses that behavior, but I am guessing it somehow gets populated correctly? Is CrScrollableBehavior still relevant?
,
Nov 1 2016
CrScrollableBehavior is relevant in most places that we use iron-list in order to fix an issue where the list is initially empty. GlobalScrollTargetBehavior should be used in places where the scroll target is not the direct parent (i.e. when the iron-list should scroll the height of the page). Setting the scroll target also corrects the initial size issue, so it's not necessary to have CrScrollableBehavior when an element has GlobalScrollTargetBehavior. Steven and I had a conversation in this CL: http://crrev.com/2448653002 |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Oct 28 2016