JSFiddle - React, Tailwind, and code Playground

by Manna

HTML

<input type="text">

JavaScript

$('input').blur(function() {
    var that = this;
    setTimeout(function() {
        $(that).focus();
    }, 0);
});