I have some simple code to check when inputs are focused in / out:
$(document).on(`mouseenter mouseleave focusin focusout`, `input, textarea, [type=checkbox], sel