Well, this is fixed. I had to change the plugin code itself:
if ($ul.find('input[type=text]:focus, input[type=password]:focus ').length == 0){
$ul.stop(true, true).animate(o.animationOut, speed, function () {
var $this = $(this);
o.onHide.call($this);
});
}
else{
$(this).addClass(o.hoverClass);
}
The idea is to count a number of text inputs that have user's focus at the moment, if there's more than one, add the hoverClass
which makes the menu item stay visible. If there's no focused items, it will proceed with hiding as usual.