JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<input type="text" name="foo" />

JavaScript

$(function () {
    $('input[type=text]').focus(function () {
			$(this).blur();
		});
});