Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js |
| index 2492af997336363ffa703874f4cb32294c14892a..cd125efcae71f5738a23610804c3b57d5b4eecee 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js |
| @@ -386,7 +386,7 @@ UI.SuggestBox = class { |
| this._updateBoxPosition(anchorBox, completions.length); |
| this._updateWidth(completions); |
| - this._list.setHeightMode(UI.ListHeightMode.Fixed); |
| + this._list.setMode(UI.ListMode.ViewportFixedItems); |
|
caseq
2016/12/29 19:25:31
let's have a dedicated method to reset height?
|
| this._list.replaceAllItems(completions); |
| var highestPriorityItem = -1; |