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
- relates to
-
ZK-5235 opening a menupopup moves a scrollbar of a long menu back to top
- Closed