Hi,
I am trying to open the other panel and closing the current panel by using the below code, which is working for Foldable theme in WAB but not working for Box theme correctly.
var pm = PanelManager.getInstance();
var layerListWidget = null;
layerListWidget = pm.widgetManager.appConfig.widgetPool.widgets[0];
PanelManager.getInstance().closePanel(this.id + "_panel");
PanelManager.getInstance().showPanel(layerListWidget);
Do anyone have any idea, how to achieve this for Box Theme?