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

up down arrow key doesn't move menu selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.1
    • 9.6.0.1
    • None
    • Security Level: Jimmy

      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

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

            jumperchen jumperchen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: