Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4811

menubar autodrop="false" has no effect on nested submenus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 6.5.8.1, 9.5.0.2
    • Components
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      <zk>
          <menubar autodrop="false">
              <menu id="topMenu" label="Top Menu">
                  <menupopup>
                      <menu id="nestedMenu" label="Nested Menu">
                          <menupopup>
                              <menuitem id="menuItem" label="test"/>
                          </menupopup>
                      </menu>
                  </menupopup>
              </menu>
              <menu id="topMenu2" label="Top Menu 2">
                  <menupopup>
                      <menu id="nestedMenu2" label="Nested Menu 2">
                          <menupopup>
                              <menuitem id="menuItem2" label="test 2"/>
                          </menupopup>
                      </menu>
                  </menupopup>
              </menu>
          </menubar>
      </zk>
      

      click either <menu>
      hover a submenu

      Current Result

      the submenu opens on hovering

      Expected Result

      submenu follows the autodrop="false" property of the surrounding menubar
      -> submenu only opens when clicked

      Debug Information

      maybe this is just a documentation issue, to clarify what the autodrop="false" is meant to affect, the topmost menus or all submenus in this menubar

      Workaround

            katherinelin katherinelin
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: