In a ViewController, on a context menu I try to lookup menuItem by reference.

Using menu.lookupReference('menuItemRef') returns null.

Using component query like menu.down('[reference=menuItemRef]') it's working fine....


Fiddle bellow. Right click on any grid record.


PS: please do not take into account the double reference warning, that's ok because for other bug reports using the same fiddle I've used the same menu config in top toolbar as well. You can disable it there and the issue will remain.