Only prevent default action for tab keypressed events if there is some partially typed contact