You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works for TabContainer.addChild and TabContainer.removeChild, too. However, then TabContainer.removeChild removes the last selected tab, then the watch event is not fired, but the selectedChildWidget is set to undefined, see https://github.com/dojo/dijit/blob/master/layout/StackContainer.js#L204 I would like selectedChildWidget to set properly even when the last tab is removed.
The text was updated successfully, but these errors were encountered:
The recommended way to listen to selected tab change is
see https://dojotoolkit.org/reference-guide/1.10/dijit/layout/TabContainer.html#tabcontainer-events
It works for
TabContainer.addChild
andTabContainer.removeChild
, too. However, thenTabContainer.removeChild
removes the last selected tab, then thewatch
event is not fired, but theselectedChildWidget
is set toundefined
, see https://github.com/dojo/dijit/blob/master/layout/StackContainer.js#L204 I would likeselectedChildWidget
to set properly even when the last tab is removed.The text was updated successfully, but these errors were encountered: