PopupDecorator.components
property. So, I set the controlParentName
of my PopupDecorator to the name of the ContextualPopup instance and all was good.PopupMenu.components
should be rendered inside the client of the Scroller of the ScrollingMenu. This is where things got complicated...controlParent
. But once the ScrollingMenu is rendered, controlParent
should change tot the ScrollingMenu, so it can cascade the content all the way down to the client of it's scroller.enyo.Component.createChrome
to create the Activator and ContextualPopup. It then sets the controlParent
to the ContextualPopup instance.PopupDecorator.createChrome
to create the ScrollingMenu after the Activator and ContextualPopup have been created. It then sets the controlParent
to the ScrollingMenu instance.enyo.Component.createClientComponents
will create the content and it will be passed down to the client of the ScrollingMenu's scroller.container
of the menu when creating the ScrollingMenu component. Are there any side-effects to using the container
property on the child rather than using the controlParent
property on the ancestor? If so, this should probably also be documented. It looks like you're new here. If you want to get involved, click one of these buttons!