How to prevent an input from losing focus OnMouseExit?

The title is pretty much elf explanatory,
I have a bunch of input fields which activate and work just fine when I click on them, but once/if I move my cursor away from it(and OnMouseExit is triggered) it loses focus right away.

Any ideas how to prevent this?