I am having issues with the Launchpad Theme on WAB dev edition 1.2. Widget results do not clear after closing widget. Anyone having same issue?
I have a few widgets so some of them go on a different panel. I just tested and the widget works as expected if the Google Street View Widget is on the main controller. It doesn't when it is part of the other panels.
Maria,
Oh, now I see the issue. I will work on a fix for this.
As far as the LaunchPad theme here is a workaround that can be applied to each widget that has some dependence on the onClose event. I will be adding this workaround to each of my widgets in their next releases.
I add the dojo/aspect require and then in the postCreate function I add the code below.
/*Workaround for the LanunchPad theme not firing onClose and onOpen for the widget*/ if(this.appConfig.theme.name === "LaunchpadTheme"){ var tPanel = this.getPanel(); if(tPanel){ aspect.after(tPanel, "onClose", lang.hitch(this, this.onClose)); aspect.after(tPanel, "onOpen", lang.hitch(this, this.onOpen)); } } /*end work around for LaunchPad*/
I have tested this using my eSearch, Identify, StreetView and they all work well with this workaround using the LaunchPad theme.
Thanks Robert!
I have found that this behavior only occurs when the widget is added to the Anchor Bar Controller. Adding a widget to the number widgets section does not have this behavior.
This only happens in the ArcGIS Web AppBuilder 1.2 Developer Edition. It does not happen in ArcGIS Online's built-in Web AppBuilder.