From c282f223d7acbc469834c711ce3c8957b97939e4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 13 Jul 2017 15:21:48 +0800 Subject: [PATCH] Roo/bootstrap/layout/Manager.js --- Roo/bootstrap/layout/Manager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Roo/bootstrap/layout/Manager.js b/Roo/bootstrap/layout/Manager.js index 01262cf7af..53751fe838 100644 --- a/Roo/bootstrap/layout/Manager.js +++ b/Roo/bootstrap/layout/Manager.js @@ -94,6 +94,9 @@ Roo.extend(Roo.bootstrap.layout.Manager, Roo.bootstrap.Component, { this.id = this.el.id; this.el.addClass("roo-layout-container"); Roo.EventManager.onWindowResize(this.onWindowResize, this, true); + if(this.el.dom != document.body ) { + this.el.on('resize', this.layout()); + } }, -- 2.39.2