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

up down arrow key doesn't move menu selection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 9.6.0.1
    • Fix Version/s: 9.6.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      1. load attached zul
      2. hover on the first menuitem
      3. press down key twice to prove the keyboard selection works
      4. move to the last item and move back to the first item
      5. press down key twice

      Current Result

      can't move the menu selection by keyboard

      Expected Result

      users still can move the menu selection by keyboard

      Debug Information

      • when opening a sub-menupopup and close it, it doesn't return the focus to parent menupopup.
      • include the js below to debug:
        /* print focus element periodically for debug */
        setInterval(function(){
            console.log(document.activeElement);
        }, 500);
        

      Workaround

      see attached js

        Attachments

        1. menu-hover.js
          4 kB
        2. zk-5025.zul
          0.6 kB

          Activity

            People

            Assignee:
            jumperchen jumperchen
            Reporter:
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: