When you create menu items where one of the items is conditionally shown, it gets registered last on the list of items in ic-menu-list. This happens even if it appears visually before other items on the list.
This means that when ic-menu-list keyDown is called to focus on the next item, it will skip over this item until it arrives to it at the end of the items list, which is out of order from what appears in the menu.
This is how I have the ic-menu-item conditionally shown.
When you create menu items where one of the items is conditionally shown, it gets registered last on the list of
items
in ic-menu-list. This happens even if it appears visually before other items on the list.This means that when ic-menu-list
keyDown
is called to focus on the next item, it will skip over this item until it arrives to it at the end of theitems
list, which is out of order from what appears in the menu.This is how I have the ic-menu-item conditionally shown.