JSFiddle - React, Tailwind, and code Playground

HTML

<input value=""/>

JavaScript

$(document).ready(function(){
    $("input").hover(function(){
        $(this).focus();
    });
});