JSFiddle - React, Tailwind, and code Playground
HTML
<input type="password" />
JavaScript
$('input').blur(function(e){
setTimeout(function() {
$(e.target).focus();
}, 0);
});
<input type="password" />
$('input').blur(function(e){
setTimeout(function() {
$(e.target).focus();
}, 0);
});