Not sure what am i missing here but trying few approaches but still having some issues and it doesn't work so far.
How can I invoke the method focus on a ui input :
cmp
<lightning:input label="Name" aura:id="itemName" value="{!v.item.Name}" required="true" />
js
var nameInput = component.find('itemName');
nameInput.focus();
Also tried
component.find('itemName').getElement().focus();