From 37528e2dbba25db3cd2bdb8442205d5d16842635 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 10 Jun 2021 16:08:04 +0800 Subject: [PATCH] changes to menu --- docs/src/Roo_bootstrap_Menu.js.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/src/Roo_bootstrap_Menu.js.html b/docs/src/Roo_bootstrap_Menu.js.html index 4d1dfeb911..225884dca1 100644 --- a/docs/src/Roo_bootstrap_Menu.js.html +++ b/docs/src/Roo_bootstrap_Menu.js.html @@ -23,6 +23,13 @@ Roo.bootstrap.Menu = function(config){ + + if (config.type == 'treeview') { + // normally menu's are drawn attached to the document to handle layering etc.. + // however treeview (used by the docs menu is drawn into the parent element) + this.container_method = 'getChildContainer'; + } + Roo.bootstrap.Menu.superclass.constructor.call(this, config); if (this.registerMenu && this.type != 'treeview') { Roo.bootstrap.MenuMgr.register(this); -- 2.39.2