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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js

Issue 2565113002: DevTools: update console viewport scroll when prompt is resized (Closed)
Patch Set: DevTools: console should update viewport when codemirror resizes Created 4 years 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: third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
index d7f95e8198ea7397e97d455fbb60ef14a89933ff..cf54bf7a91968c75280730739a68269a6b4eb991 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js
@@ -153,6 +153,13 @@ UI.SearchableView = class extends UI.VBox {
}
/**
+ * @override
+ */
+ onLayout() {
+ this.invalidateSize();
+ }
+
+ /**
* @param {?Element} element
* @return {?UI.SearchableView}
*/

Powered by Google App Engine
This is Rietveld 408576698