Class MenuInitializer
- java.lang.Object
-
- org.kie.workbench.common.dmn.client.editors.types.listview.common.MenuInitializer
-
public class MenuInitializer extends Object
This class implements a workaround for menus.Menus in a dialog cannot be affected by the "overflow: hidden" CSS property from the dialog content. Thus, this workaround moves the dropdown element to the "body" element when the menu is opened, and it moves the dropdown element back to the "menu" when the menu closed.
-
-
Constructor Summary
Constructors Constructor Description MenuInitializer(elemental2.dom.Element menu, String dropDownClass)
-
-
-
Constructor Detail
-
MenuInitializer
public MenuInitializer(elemental2.dom.Element menu, String dropDownClass)
-
-