Details
Description
Currently when a menu has the same name as a menu item in the applications main (appbar) menu and it has TabBar in its name, it is automatically regarded as a dropdown menu.
See: menu-item in app of catalog:
<menu-item name="shipping" title="${uiLabelMap.ProductShipping}"><link target="ListShipmentMethodTypes"/></menu-item>
and the menu:
<menu name="ShippingTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="ListShipmentMethodTypes" title="${uiLabelMap.ProductShipmentMethodTypes}"> <link target="ListShipmentMethodTypes"/> </menu-item> <menu-item name="ListQuantityBreaks" title="${uiLabelMap.ProductQuantityBreaks}"> <link target="ListQuantityBreaks"/> </menu-item> <menu-item name="ListCarrierShipmentMethods" title="${uiLabelMap.ProductCarrierShipmentMethods}"> <link target="ListCarrierShipmentMethods"/> </menu-item> </menu>
This shouldn't be the default behaviour. Drop-down menus should be associated explicitly